summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 76b208e2be1f..c8f89f2b63d1 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 62a283f9556c..93c5b95ec561 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