diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-08-30 03:36:38 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-08-30 03:36:38 +0000 |
commit | 4086356f6e88c1bc02d27c958a7c30b3574cd31c (patch) | |
tree | 92fdde148c39a53b0035e0c676aceb0e0cc14a16 /mail | |
parent | Update to 1.031 (diff) |
Take out both PREFIX's from SCRIPTS_ENV since its in bsd.port.mk
Revert configure to 1.5 and fix old logic
Notes
Notes:
svn path=/head/; revision=47127
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-current/Makefile | 3 | ||||
-rw-r--r-- | mail/postfix-current/scripts/configure | 5 |
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 |