aboutsummaryrefslogtreecommitdiff
path: root/news/newscache
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-10 17:29:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-10 17:29:46 +0000
commit445f4bfdfb89af4d25f7191a756dd30602d4eac0 (patch)
treed93c803a9036cd8e444f05a66819564c0ad6f9b9 /news/newscache
parent0d4e67cb2816c2e9063319d5b5718cb1e542ec05 (diff)
downloadports-445f4bfdfb89af4d25f7191a756dd30602d4eac0.tar.gz
ports-445f4bfdfb89af4d25f7191a756dd30602d4eac0.zip
Notes
Diffstat (limited to 'news/newscache')
-rw-r--r--news/newscache/Makefile9
-rw-r--r--news/newscache/files/patch-autogen20
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"