diff options
Diffstat (limited to '')
-rw-r--r-- | news/newscache/Makefile | 9 | ||||
-rw-r--r-- | news/newscache/files/patch-autogen | 20 |
2 files changed, 3 insertions, 26 deletions
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 <bsd.port.mk> 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" |