From 445f4bfdfb89af4d25f7191a756dd30602d4eac0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 10 Jun 2015 17:29:46 +0000 Subject: [PATCH] - Switch to USES=autoreconf --- news/newscache/Makefile | 9 +++------ news/newscache/files/patch-autogen | 20 -------------------- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 news/newscache/files/patch-autogen diff --git a/news/newscache/Makefile b/news/newscache/Makefile index e36b8390daac..10c351ff6686 100644 --- a/news/newscache/Makefile +++ b/news/newscache/Makefile @@ -13,21 +13,18 @@ COMMENT= NewsCache is a free cache server for USENET News LIB_DEPENDS= libsocket++.so:${PORTSDIR}/net/libsocket++ -USE_AUTOTOOLS= automake autoheader autoconf -AUTOMAKE_ARGS= --add-missing +USES= autoreconf +GNU_CONFIGURE= yes CPPFLAGS+= ${CFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc USE_RC_SUBR= ${PORTNAME} -INFO= NewsCache +INFO= NewsCache post-patch: ${REINPLACE_CMD} -e "s,-pedantic,," \ -e "s,^main,int main," \ ${WRKSRC}/configure.in -pre-configure: - (cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen) - .include diff --git a/news/newscache/files/patch-autogen b/news/newscache/files/patch-autogen deleted file mode 100644 index 4d53145373f9..000000000000 --- a/news/newscache/files/patch-autogen +++ /dev/null @@ -1,20 +0,0 @@ ---- autogen.orig Sat Nov 23 12:33:52 2002 -+++ autogen Sun Jun 5 00:44:04 2005 -@@ -9,13 +9,13 @@ - fi - - echo "aclocal..." --aclocal -+${ACLOCAL} - echo "autoheader..." --autoheader -+${AUTOHEADER} - echo "automake..." --automake --add-missing -+${AUTOMAKE} --add-missing - echo "autoconf..." --autoconf -+${AUTOCONF} - - echo "Next run ./configure" - echo "Next run make"