- 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]
This commit is contained in:
parent
adbe22860b
commit
861d1bf7fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210079
2 changed files with 8 additions and 22 deletions
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue