Update of /cvsroot/fink/experimental/costabel/finkinfo
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv22040

Added Files:
        net-snmp-unified.patch 
Log Message:
Fixes build problem on Tiger

--- NEW FILE: net-snmp-unified.patch ---
--- net-snmp-5.4.1/configure    2007-07-27 13:04:19.000000000 -0400
+++ net-snmp-5.4.1-new/configure        2007-12-12 12:30:15.000000000 -0500
@@ -31784,7 +31784,7 @@
 if test "x$embed_perl" != "xno" ; then
     echo "$as_me:$LINENO: checking for Perl CFLAGS" >&5
 echo $ECHO_N "checking for Perl CFLAGS... $ECHO_C" >&6
-    perlcflags=`$myperl -MExtUtils::Embed -e ccopts`
+    perlcflags=`$myperl -MExtUtils::Embed -e ccopts | sed -e 's,-arch [^ 
]*,,g'`
     if test "x$perlcflags" != "x" ; then
       echo "$as_me:$LINENO: result: $perlcflags" >&5
 echo "${ECHO_T}$perlcflags" >&6
@@ -31804,7 +31804,7 @@
 if test "x$embed_perl" != "xno" ; then
     echo "$as_me:$LINENO: checking for Perl LDFLAGS" >&5
 echo $ECHO_N "checking for Perl LDFLAGS... $ECHO_C" >&6
-    netsnmp_perlldopts=`$myperl -MExtUtils::Embed -e ldopts`
+    netsnmp_perlldopts=`$myperl -MExtUtils::Embed -e ldopts | sed -e 's,-arch 
[^ ]*,,g'`
     if test "x$netsnmp_perlldopts" != "x" ; then
       echo "$as_me:$LINENO: result: $netsnmp_perlldopts" >&5
 echo "${ECHO_T}$netsnmp_perlldopts" >&6
@@ -31824,7 +31824,7 @@
       echo "$as_me:$LINENO: checking for Perl CCDLFLAGS" >&5
 echo $ECHO_N "checking for Perl CCDLFLAGS... $ECHO_C" >&6
 
-      netsnmp_perlccdlflags=`$myperl -V:ccdlflags | $myperl -n -e 'print $1 
'"if (/^\s*ccdlflags='([^']+)';/);"`
+      netsnmp_perlccdlflags=`$myperl -V:ccdlflags | sed -e 's,-arch [^ ]*,,g' 
| $myperl -n -e 'print $1 '"if (/^\s*ccdlflags='([^']+)';/);"`
 
       echo "$as_me:$LINENO: result: $netsnmp_perlccdlflags" >&5
 echo "${ECHO_T}$netsnmp_perlccdlflags" >&6
--- net-snmp-5.4.1/perl/TrapReceiver/Makefile.PL~       2007-06-18 
16:10:08.000000000 +0200
+++ net-snmp-5.4.1/perl/TrapReceiver/Makefile.PL        2007-12-23 
23:30:52.000000000 +0100
@@ -108,7 +108,7 @@
     else {
        $opts = NetSNMPGetOpts();
        $Params{'LDDLFLAGS'} = "$Config{lddlflags} " . `$opts->{'nsconfig'} 
--ldflags`;
-       $Params{'LIBS'} = '-lnetsnmptrapd -lnetsnmpagent -lnetsnmp';
+       $Params{'LIBS'} = '-lnetsnmptrapd -lnetsnmpagent -lnetsnmp 
-lnetsnmpmibs -lnetsnmphelpers';
        chomp($Params{'LIBS'});
        if (!$ENV{'NETSNMP_CCFLAGS'}) {
            $Params{'CCFLAGS'} = `$opts->{'nsconfig'} --cflags`;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to