aboutsummaryrefslogtreecommitdiffstats
path: root/news/newscache/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-11 01:29:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-11 01:29:46 +0800
commitdf780d978c5d586b5ea583f99890377327cef225 (patch)
treed93c803a9036cd8e444f05a66819564c0ad6f9b9 /news/newscache/Makefile
parentd17741584d71fbd4c53c87fe12ef904d39bb5413 (diff)
downloadfreebsd-ports-gnome-df780d978c5d586b5ea583f99890377327cef225.tar.gz
freebsd-ports-gnome-df780d978c5d586b5ea583f99890377327cef225.tar.zst
freebsd-ports-gnome-df780d978c5d586b5ea583f99890377327cef225.zip
- Switch to USES=autoreconf
Diffstat (limited to 'news/newscache/Makefile')
-rw-r--r--news/newscache/Makefile9
1 files changed, 3 insertions, 6 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>