Don't include -lwrap in 'net-snmp-config --libs' output. This unbreaks

some ports which depend on net-snmp. Bump PKGNAMEs.

found by naddy@

a lot of help & ok sturm@
This commit is contained in:
bernd 2005-11-12 00:30:48 +00:00
parent b2f6cad60f
commit d172697737
2 changed files with 15 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.12 2005/11/05 19:09:38 bernd Exp $
# $OpenBSD: Makefile,v 1.13 2005/11/12 00:30:48 bernd Exp $
COMMENT= "extendable SNMP implementation"
COMMENT-perl= "SNMP modules for Perl"
DISTNAME= net-snmp-5.1.3
FULLPKGNAME-perl= p5-SNMP-5.1.3
PKGNAME= ${DISTNAME}p0
FULLPKGNAME-perl= p5-SNMP-5.1.3p0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-net-snmp-config_in,v 1.1 2005/11/12 00:30:48 bernd Exp $
--- net-snmp-config.in.orig Thu Nov 10 22:29:23 2005
+++ net-snmp-config.in Thu Nov 10 22:29:53 2005
@@ -31,7 +31,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
NSC_LDFLAGS="@LDFLAGS@"
NSC_LIBDIR=-L@libdir@
-NSC_LIBS="@LIBS@ @WRAPLIBS@"
+NSC_LIBS="@LIBS@"
NSC_AGENTLIBS="@AGENTLIBS@ @WRAPLIBS@"
NSC_PREFIX=@prefix@
NSC_EXEC_PREFIX=@exec_prefix@