summaryrefslogtreecommitdiff
path: root/news/inn/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-08-17 14:00:27 +0000
committerwiz <wiz>2000-08-17 14:00:27 +0000
commitf538b902f793d15502d93dd2facafef82d3357a3 (patch)
treed4fd3b71c99b1f248e42131c8dfd3d33bd11eff6 /news/inn/Makefile
parentc61024e1bda614762f61e07882f5a67fa16feb4e (diff)
downloadpkgsrc-f538b902f793d15502d93dd2facafef82d3357a3.tar.gz
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.
Diffstat (limited to 'news/inn/Makefile')
-rw-r--r--news/inn/Makefile13
1 files changed, 10 insertions, 3 deletions
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