1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Switch to USES=autoreconf

This commit is contained in:
Dmitry Marakasov 2015-06-10 17:29:46 +00:00
parent 0d4e67cb28
commit 445f4bfdfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389094
2 changed files with 3 additions and 26 deletions

View File

@ -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>

View File

@ -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"