diff options
Diffstat (limited to 'mail/postfix-current/scripts/configure')
-rw-r--r-- | mail/postfix-current/scripts/configure | 5 |
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 |