summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-24 17:31:45 +0000
committertijl <tijl@FreeBSD.org>2014-09-24 17:31:45 +0000
commit7522180a4f76c741a674225a388a5d791225a714 (patch)
tree2ee697cb564f75f1c4ae7164a9ae18a3b10abcd5
parent84031baa1168bdca7018ad803f969a3c4ebcd621 (diff)
downloadFreeBSD-ports-7522180a4f76c741a674225a388a5d791225a714.zip
FreeBSD-ports-7522180a4f76c741a674225a388a5d791225a714.tar.gz
Convert to USES=autoreconf
-rw-r--r--net-mgmt/nagios-snmp-plugins/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/net-mgmt/nagios-snmp-plugins/Makefile b/net-mgmt/nagios-snmp-plugins/Makefile
index c707195..d7ea80f 100644
--- a/net-mgmt/nagios-snmp-plugins/Makefile
+++ b/net-mgmt/nagios-snmp-plugins/Makefile
@@ -12,14 +12,12 @@ COMMENT= Additional SNMP plugins for Nagios
LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
-USES= gmake perl5
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= automake14 autoheader autoconf
+USES= autoreconf gmake perl5
OPTIONS_DEFINE= DOCS
NAGIOS_PLUGIN_DIR= ${PREFIX}/libexec/nagios
-AUTOMAKE_ARGS= --add-missing
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/nagios/cgi-bin \
--libexecdir=${NAGIOS_PLUGIN_DIR} \
--datadir=${PREFIX}/share/nagios \
@@ -31,14 +29,8 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
# Workaround configure.in lameness.
CPPFLAGS+= `net-snmp-config --cflags`
-pre-configure:
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} \
- --acdir=${ACLOCAL_DIR})
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${AUTOHEADER})
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${AUTOMAKE} \
- ${AUTOMAKE_ARGS})
- @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOMAKE_ENV} ${AUTOCONF} \
- ${AUTOCONF_ARGS})
+post-patch:
+ @${TOUCH} ${WRKSRC}/ChangeLog
do-install:
${MKDIR} ${STAGEDIR}${NAGIOS_PLUGIN_DIR}
OpenPOWER on IntegriCloud