summaryrefslogtreecommitdiff
path: root/mail/postfix-current/scripts/configure
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-30 03:36:38 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-08-30 03:36:38 +0000
commit4086356f6e88c1bc02d27c958a7c30b3574cd31c (patch)
tree92fdde148c39a53b0035e0c676aceb0e0cc14a16 /mail/postfix-current/scripts/configure
parentUpdate 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/postfix-current/scripts/configure')
-rw-r--r--mail/postfix-current/scripts/configure5
1 files changed, 4 insertions, 1 deletions
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