From f538b902f793d15502d93dd2facafef82d3357a3 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 17 Aug 2000 14:00:27 +0000 Subject: USE_PKGLIBTOOL -> USE_LIBTOOL Added hack to post-build since the package's libtool recognizes more switches for the install program than the default libtool. --- news/inn/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'news/inn/Makefile') diff --git a/news/inn/Makefile b/news/inn/Makefile index 5a8fd735b5f..6dc833460f5 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2000/07/03 13:44:53 veego Exp $ +# $NetBSD: Makefile,v 1.18 2000/08/17 14:00:27 wiz Exp $ DISTNAME= inn-2.2.2 CATEGORIES= news @@ -14,7 +14,7 @@ CONFLICTS+= nntpclnt-* INN_DATA_DIR?= /var/news USE_PERL5= yes -USE_PKGLIBTOOL= yes +USE_LIBTOOL= yes HAS_CONFIGURE= yes CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}/inn \ --mandir=${PREFIX}/man \ @@ -26,7 +26,6 @@ CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} --prefix=${PREFIX}/inn \ --with-spool-dir=${INN_DATA_DIR}/spool CONFIGURE_ENV+= _PATH_PERL=${LOCALBASE}/bin/perl - .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" @@ -49,6 +48,14 @@ post-build: -e 's#@@PREFIX@@#${PREFIX}#g' \ ${PKGDIR}/${FILE} >${WRKDIR}/${FILE} .endfor + for DIR in backends expire frontends innd innfeed lib nnrpd \ + storage; do \ + ${SED} -e 's#-b .OLD##' -e 's#-G#-g#' -e 's#-O#-o#' \ + ${WRKSRC}/$$DIR/Makefile \ + > ${WRKSRC}/$$DIR/Makefile.patch; \ + ${MV} ${WRKSRC}/$$DIR/Makefile.patch \ + ${WRKSRC}/$$DIR/Makefile; \ + done pre-install: ${MKDIR} ${INN_DATA_DIR} ${PREFIX}/etc/nntp ${PREFIX}/inn -- cgit v1.2.3