diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-08-30 11:36:38 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-08-30 11:36:38 +0800 |
commit | e573a6bc3937947f46e7f67f1c7d89e7d14aab3a (patch) | |
tree | 74cad6318095aec2cab581064254eaee2d97c4b7 | |
parent | db69648e17913bd0dd7288b240dc98ed78d419d1 (diff) | |
download | freebsd-ports-gnome-e573a6bc3937947f46e7f67f1c7d89e7d14aab3a.tar.gz freebsd-ports-gnome-e573a6bc3937947f46e7f67f1c7d89e7d14aab3a.tar.zst freebsd-ports-gnome-e573a6bc3937947f46e7f67f1c7d89e7d14aab3a.zip |
Take out both PREFIX's from SCRIPTS_ENV since its in bsd.port.mk
Revert configure to 1.5 and fix old logic
-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 |