From 7522180a4f76c741a674225a388a5d791225a714 Mon Sep 17 00:00:00 2001 From: tijl Date: Wed, 24 Sep 2014 17:31:45 +0000 Subject: Convert to USES=autoreconf --- net-mgmt/nagios-snmp-plugins/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'net-mgmt/nagios-snmp-plugins') 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} -- cgit