aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c70719597736..d7ea80fb7dfd 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}