Author: ranger
Date: Thu Feb 19 21:13:23 2009
New Revision: 1352
URL:
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1352&repname=user%3a+ranger>
Log:
fix for perl stuff
Modified:
trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info
trunk/experimental/common/main/finkinfo/net/net-snmp-unified.patch
Modified: trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info
URL:
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info&rev=1352&repname=user%3a+ranger>
==============================================================================
--- trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info (original)
+++ trunk/experimental/common/main/finkinfo/net/net-snmp-unified.info Thu Feb
19 21:13:23 2009
@@ -1,6 +1,6 @@
Package: net-snmp-unified
Version: 5.4.2.1
-Revision: 1
+Revision: 2
Description: SNMP tools and libraries
License: BSD
Maintainer: Benjamin Reed <[email protected]>
@@ -34,7 +34,7 @@
Source: mirror:sourceforge:net-snmp/net-snmp-%v.tar.gz
Source-MD5: 984932520143f0c8bf7b7ce1fc9e1da1
PatchFile: %n.patch
-PatchFile-MD5: 00d00af10e3cd0eab9bf09c367afc4f0
+PatchFile-MD5: e06144cc2d24dca29f1b14544536ccf0
PatchScript: <<
perl -pi -e 's/#include <kvm.h>/$&\nkvm_t *kd;/'
agent/mibgroup/host/hr_swrun.c
patch -p1 --fuzz=4 < %{PatchFile}
Modified: trunk/experimental/common/main/finkinfo/net/net-snmp-unified.patch
URL:
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/net/net-snmp-unified.patch&rev=1352&repname=user%3a+ranger>
==============================================================================
--- trunk/experimental/common/main/finkinfo/net/net-snmp-unified.patch
(original)
+++ trunk/experimental/common/main/finkinfo/net/net-snmp-unified.patch Thu Feb
19 21:13:23 2009
@@ -1,6 +1,36 @@
+diff -Nurd net-snmp-5.4.2.1/configure net-snmp-5.4.2.1-new/configure
+--- net-snmp-5.4.2.1/configure 2008-10-31 11:53:45.000000000 -0400
++++ net-snmp-5.4.2.1-new/configure 2009-02-19 09:17:42.000000000 -0500
+@@ -32175,7 +32175,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 | /usr/bin/sed -e
's,-arch [^ ]*,,g'`
+ if test "x$perlcflags" != "x" ; then
+ echo "$as_me:$LINENO: result: $perlcflags" >&5
+ echo "${ECHO_T}$perlcflags" >&6
+@@ -32195,7 +32195,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 | /usr/bin/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
+@@ -32215,7 +32215,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 | /usr/bin/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
diff -Nurd net-snmp-5.4.2.1/configure.in net-snmp-5.4.2.1-new/configure.in
--- net-snmp-5.4.2.1/configure.in 2008-10-31 11:22:23.000000000 -0400
-+++ net-snmp-5.4.2.1-new/configure.in 2009-02-17 10:46:32.000000000 -0500
++++ net-snmp-5.4.2.1-new/configure.in 2009-02-19 09:15:41.000000000 -0500
@@ -3072,7 +3072,7 @@
# check the cflags
if test "x$embed_perl" != "xno" ; then
@@ -30,7 +60,7 @@
PERLLDOPTS_FOR_APPS="$netsnmp_perlccdlflags"
diff -Nurd net-snmp-5.4.2.1/perl/TrapReceiver/Makefile.PL
net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL
--- net-snmp-5.4.2.1/perl/TrapReceiver/Makefile.PL 2007-06-18
10:10:08.000000000 -0400
-+++ net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL 2009-02-17
10:47:02.000000000 -0500
++++ net-snmp-5.4.2.1-new/perl/TrapReceiver/Makefile.PL 2009-02-19
09:15:41.000000000 -0500
@@ -108,7 +108,7 @@
else {
$opts = NetSNMPGetOpts();
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs