diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2008-03-29 21:44:01 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2008-03-29 21:44:01 +0800 |
commit | 464bc11f7423cf9c38b84e12f333ec049ac95c25 (patch) | |
tree | a7483f043a8492243c86b7e8066675d2fe2c0982 /net-mgmt/net-snmp-devel | |
parent | 251406355af6eac1a38f80a9ec98d4a3c19151d8 (diff) | |
download | freebsd-ports-gnome-464bc11f7423cf9c38b84e12f333ec049ac95c25.tar.gz freebsd-ports-gnome-464bc11f7423cf9c38b84e12f333ec049ac95c25.tar.zst freebsd-ports-gnome-464bc11f7423cf9c38b84e12f333ec049ac95c25.zip |
- Fix $CONFLICTS entry for ucd-snmp-4.* packages [1].
- Fix breakage with WITHOUT_PERL knob (needs -lm) [2].
PR: ports/118875 [1]
Submitted by: Volker Werth <volker@vwsoft.com> [1],
Oliver Lehmann <lehmann@ans-netz.de> [2]
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 216c812d667b..9512cfb6d9fc 100644 --- a/net-mgmt/net-snmp-devel/Makefile +++ b/net-mgmt/net-snmp-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= snmp PORTVERSION= 5.4.1 +PORTREVISION= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp @@ -41,7 +42,7 @@ CONFIGURE_ARGS+=--enable-shared --enable-internal-md5 \ --with-sys-location="${NET_SNMP_SYS_LOCATION}" \ --with-logfile="${NET_SNMP_LOGFILE}" \ --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}" \ - --with-gnu-ld --with-libwrap --with-libs="-lkvm -ldevstat" + --with-gnu-ld --with-libwrap --with-libs="-lm -lkvm -ldevstat" .if defined(BATCH) CONFIGURE_ARGS+=--with-defaults @@ -207,7 +208,7 @@ DOC_FILES= AGENT.txt COPYING FAQ NEWS README \ agent/mibgroup/README.smux PS_CMD?= /bin/ps -CONFLICTS= net-snmp-4.* net-snmp-5.3.* +CONFLICTS= ucd-snmp-4.* net-snmp-5.3.* pre-everything:: @${ECHO_MSG} @@ -235,15 +236,7 @@ pre-everything:: @${ECHO_MSG} " agent" @${ECHO_MSG} -post-patch: patch-autoconf patch-script-files - -patch-autoconf: - -x-patch-autoconf: - @${AWK} '/@synopsis/,/taken from libtool.m4/' ${WRKSRC}/aclocal.m4 > ${WRKSRC}/aclocal.m4.tmp - @${CAT} ${LIBTOOL_M4} >> ${WRKSRC}/aclocal.m4.tmp - @${CP} ${LTMAIN} ${WRKSRC} - @${MV} ${WRKSRC}/aclocal.m4.tmp ${WRKSRC}/aclocal.m4 +post-patch: patch-script-files patch-script-files: .for filename in ${SCRIPT_FILES} |