diff options
author | Doug White <dwhite@FreeBSD.org> | 2000-12-02 20:28:44 +0000 |
---|---|---|
committer | Doug White <dwhite@FreeBSD.org> | 2000-12-02 20:28:44 +0000 |
commit | 4e37042ed9edaae1d77910ea6d1e0d66ac084a78 (patch) | |
tree | 74e5bbf1e2416d3095149399a8a3b0db25f3ddbd /mail/postfix-current/scripts/configure | |
parent | Use `cc' rather than `ld' to build the shared lib. It knows better our (diff) |
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/scripts/configure')
-rw-r--r-- | mail/postfix-current/scripts/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/postfix-current/scripts/configure b/mail/postfix-current/scripts/configure index 5efeadd1d190..353b7ae67b34 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 |