summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-11-05 17:40:30 +0000
committerjoerg <joerg@pkgsrc.org>2013-11-05 17:40:30 +0000
commitaeae0704d664ca37072a8edff1f3f5d45098bffc (patch)
tree8a4ca889aafe2d15f3c192a697217c689a9ea6d1 /net/net-snmp
parent7aebec4b19d2b18756e85176d923fc55d9f8ccca (diff)
downloadpkgsrc-aeae0704d664ca37072a8edff1f3f5d45098bffc.tar.gz
Link agent.so correctly against libperl.so.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile4
-rw-r--r--net/net-snmp/distinfo3
-rw-r--r--net/net-snmp/patches/patch-perl_agent_Makefile.PL16
3 files changed, 20 insertions, 3 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index ad7997bfae6..825a2262099 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.98 2013/05/31 12:41:35 wiz Exp $
+# $NetBSD: Makefile,v 1.99 2013/11/05 17:40:30 joerg Exp $
DISTNAME= net-snmp-5.7.2
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 297ff741fbc..bf46b66e816 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.77 2013/04/14 19:45:30 joerg Exp $
+$NetBSD: distinfo,v 1.78 2013/11/05 17:40:30 joerg Exp $
SHA1 (net-snmp-5.7.2.tar.gz) = c493027907f32400648244d81117a126aecd27ee
RMD160 (net-snmp-5.7.2.tar.gz) = 392d643e9f2f42ee4fa688b4702329ad005ee12e
@@ -25,3 +25,4 @@ SHA1 (patch-du) = 89a77e82d881207500fb45c422b66710e44c0eb4
SHA1 (patch-el) = b85dbef28e14fe29c9fb944508a08e7423a37152
SHA1 (patch-es) = 7336d905bac315f344f93664e4118332f88fb6ee
SHA1 (patch-include_net-snmp_system_netbsd.h) = 7880fded678147b2cc75e035234b89727e213d00
+SHA1 (patch-perl_agent_Makefile.PL) = 722380debeda1552b74b60ff91cea3cbbc716e74
diff --git a/net/net-snmp/patches/patch-perl_agent_Makefile.PL b/net/net-snmp/patches/patch-perl_agent_Makefile.PL
new file mode 100644
index 00000000000..d73e758320b
--- /dev/null
+++ b/net/net-snmp/patches/patch-perl_agent_Makefile.PL
@@ -0,0 +1,16 @@
+$NetBSD: patch-perl_agent_Makefile.PL,v 1.1 2013/11/05 17:40:30 joerg Exp $
+
+--- perl/agent/Makefile.PL.orig 2012-10-09 22:28:58.000000000 +0000
++++ perl/agent/Makefile.PL
+@@ -79,7 +79,10 @@ sub InitMakeParams {
+ else {
+ $opts = NetSNMPGetOpts();
+ $Params{'LDDLFLAGS'} = "$Config{lddlflags} " . `$opts->{'nsconfig'} --ldflags`;
+- $Params{'LIBS'} = `$opts->{'nsconfig'} --base-agent-libs`;
++ chomp($Params{'LDDLFLAGS'});
++ $Params{'LDDLFLAGS'} = $Params{'LDDLFLAGS'} . " " . $Config{'ccdlflags'};
++ chomp($Params{'LDDLFLAGS'});
++ $Params{'LIBS'} = `$opts->{'nsconfig'} --base-agent-libs`;
+ chomp($Params{'LIBS'});
+ $Params{'CCFLAGS'} = `$opts->{'nsconfig'} --cflags`;
+ chomp($Params{'CCFLAGS'});