From b67db15ee0fadf3fe87f79944d0e814c13a995cb Mon Sep 17 00:00:00 2001 From: dwhite Date: Sat, 2 Dec 2000 20:28:44 +0000 Subject: 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. (maintainer) --- mail/postfix-current/scripts/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit