diff options
author | dwhite <dwhite@FreeBSD.org> | 2000-12-03 04:28:44 +0800 |
---|---|---|
committer | dwhite <dwhite@FreeBSD.org> | 2000-12-03 04:28:44 +0800 |
commit | b67db15ee0fadf3fe87f79944d0e814c13a995cb (patch) | |
tree | 47b5180cf1d26b6a98acdc7f7a0803ecb5c895e5 | |
parent | b976c3f0dc13a01cd09428d0f2ac9b04752c85e4 (diff) | |
download | freebsd-ports-gnome-b67db15ee0fadf3fe87f79944d0e814c13a995cb.tar.gz freebsd-ports-gnome-b67db15ee0fadf3fe87f79944d0e814c13a995cb.tar.zst freebsd-ports-gnome-b67db15ee0fadf3fe87f79944d0e814c13a995cb.zip |
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)
-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 |