summaryrefslogtreecommitdiffstats
path: root/mail/postfix-current
diff options
context:
space:
mode:
authordwhite <dwhite@FreeBSD.org>2000-12-02 20:28:44 +0000
committerdwhite <dwhite@FreeBSD.org>2000-12-02 20:28:44 +0000
commitb67db15ee0fadf3fe87f79944d0e814c13a995cb (patch)
tree47b5180cf1d26b6a98acdc7f7a0803ecb5c895e5 /mail/postfix-current
parentb976c3f0dc13a01cd09428d0f2ac9b04752c85e4 (diff)
downloadFreeBSD-ports-b67db15ee0fadf3fe87f79944d0e814c13a995cb.zip
FreeBSD-ports-b67db15ee0fadf3fe87f79944d0e814c13a995cb.tar.gz
Change configure script to use find & grep instead of grep -r. The -r
option is only available on 4.X. This allows postfix to compile properly on FreeBSD 3.X (and possibly before.) Approved by: David W. Chapman Jr. <dwcjr@inethouston.net> (maintainer)
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/scripts/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/postfix-current/scripts/configure b/mail/postfix-current/scripts/configure
index 5efeadd..353b7ae 100644
--- a/mail/postfix-current/scripts/configure
+++ b/mail/postfix-current/scripts/configure
@@ -2,7 +2,7 @@
#
# $FreeBSD$
-for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \
+for f in `find ${WRKSRC} | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
rm $f.orig
done
OpenPOWER on IntegriCloud