mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
16 lines
329 B
Plaintext
16 lines
329 B
Plaintext
|
#! /bin/sh
|
||
|
#
|
||
|
# $Id: configure,v 1.2 1996/09/10 05:25:09 jdp Exp $
|
||
|
|
||
|
umask 022
|
||
|
|
||
|
files_to_patch="\
|
||
|
${WRKSRC}/m3/m3build/templates/FreeBSD2"
|
||
|
temp_prefix=${WRKSRC}/installed
|
||
|
|
||
|
for i in ${files_to_patch}; do
|
||
|
test -f ${i}.bak || cp -p ${i} ${i}.bak
|
||
|
rm -f ${i}
|
||
|
sed -e "s|/usr/local/|${temp_prefix}/|g" ${i}.bak >${i}
|
||
|
done
|