mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
4e37042ed9
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)
9 lines
175 B
Bash
9 lines
175 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
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
|