diff options
Diffstat (limited to 'lang/modula-3-lib/scripts/configure')
-rw-r--r-- | lang/modula-3-lib/scripts/configure | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/modula-3-lib/scripts/configure b/lang/modula-3-lib/scripts/configure new file mode 100644 index 000000000000..22a4738fdfee --- /dev/null +++ b/lang/modula-3-lib/scripts/configure @@ -0,0 +1,15 @@ +#! /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 |