pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp Link agent.so correctly against libperl.so.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/469c6d2e1090
branches:  trunk
changeset: 626255:469c6d2e1090
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 05 17:40:30 2013 +0000

description:
Link agent.so correctly against libperl.so.

diffstat:

 net/net-snmp/Makefile                             |   4 ++--
 net/net-snmp/distinfo                             |   3 ++-
 net/net-snmp/patches/patch-perl_agent_Makefile.PL |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r fd48f8e6375e -r 469c6d2e1090 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Tue Nov 05 17:39:46 2013 +0000
+++ b/net/net-snmp/Makefile     Tue Nov 05 17:40:30 2013 +0000
@@ -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 -r fd48f8e6375e -r 469c6d2e1090 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Tue Nov 05 17:39:46 2013 +0000
+++ b/net/net-snmp/distinfo     Tue Nov 05 17:40:30 2013 +0000
@@ -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-el) = b85dbef28e14fe29c9fb944508a08e7423a37152
 SHA1 (patch-es) = 7336d905bac315f344f93664e4118332f88fb6ee
 SHA1 (patch-include_net-snmp_system_netbsd.h) = 7880fded678147b2cc75e035234b89727e213d00
+SHA1 (patch-perl_agent_Makefile.PL) = 722380debeda1552b74b60ff91cea3cbbc716e74
diff -r fd48f8e6375e -r 469c6d2e1090 net/net-snmp/patches/patch-perl_agent_Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/patches/patch-perl_agent_Makefile.PL Tue Nov 05 17:40:30 2013 +0000
@@ -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'});



Home | Main Index | Thread Index | Old Index