svn commit: r369190 - head/net-mgmt/nagios-snmp-plugins

Tijl Coosemans tijl at FreeBSD.org
Wed Sep 24 17:31:46 UTC 2014


Author: tijl
Date: Wed Sep 24 17:31:45 2014
New Revision: 369190
URL: http://svnweb.freebsd.org/changeset/ports/369190
QAT: https://qat.redports.org/buildarchive/r369190/

Log:
  Convert to USES=autoreconf

Modified:
  head/net-mgmt/nagios-snmp-plugins/Makefile

Modified: head/net-mgmt/nagios-snmp-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-snmp-plugins/Makefile	Wed Sep 24 17:28:30 2014	(r369189)
+++ head/net-mgmt/nagios-snmp-plugins/Makefile	Wed Sep 24 17:31:45 2014	(r369190)
@@ -12,14 +12,12 @@ COMMENT=	Additional SNMP plugins for Nag
 
 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}


More information about the svn-ports-head mailing list