summaryrefslogtreecommitdiffstats
path: root/mail/postfix-current
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2001-08-30 03:36:38 +0000
committerdwcjr <dwcjr@FreeBSD.org>2001-08-30 03:36:38 +0000
commite573a6bc3937947f46e7f67f1c7d89e7d14aab3a (patch)
tree74cad6318095aec2cab581064254eaee2d97c4b7 /mail/postfix-current
parentdb69648e17913bd0dd7288b240dc98ed78d419d1 (diff)
downloadFreeBSD-ports-e573a6bc3937947f46e7f67f1c7d89e7d14aab3a.zip
FreeBSD-ports-e573a6bc3937947f46e7f67f1c7d89e7d14aab3a.tar.gz
Take out both PREFIX's from SCRIPTS_ENV since its in bsd.port.mk
Revert configure to 1.5 and fix old logic
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/Makefile3
-rw-r--r--mail/postfix-current/scripts/configure5
2 files changed, 5 insertions, 3 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 76b208e..c8f89f2 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -7,6 +7,7 @@
PORTNAME= postfix
PORTVERSION= 20010808
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/ \
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \
@@ -60,10 +61,8 @@ MAKEFILEFLAGS+= DEBUG=
MAKEFILEFLAGS+= OPT="${CFLAGS}"
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
- PREFIX="${PREFIX}" \
TOUCH="${TOUCH}" \
MKDIR="${MKDIR}" \
- PREFIX="${PREFIX}"
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postfix
diff --git a/mail/postfix-current/scripts/configure b/mail/postfix-current/scripts/configure
index 62a283f..93c5b95 100644
--- a/mail/postfix-current/scripts/configure
+++ b/mail/postfix-current/scripts/configure
@@ -2,4 +2,7 @@
#
# $FreeBSD$
-find ${WRKSRC} -type f | xargs grep -l '\!\!PREFIX\!\!' | xargs perl -pi.fbsd -e 's+!!PREFIX!!+$PREFIX+g'
+for f in `find ${WRKSRC} -type f | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
+ mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
+ rm $f.orig
+done
OpenPOWER on IntegriCloud