openbsd-ports/net/gated/scripts/configure
1997-11-22 23:54:03 +00:00

19 lines
291 B
Bash
Executable File

#!/bin/sh
#
# Configure gated
#
cd $WRKSRC
for file in Makefile src/Makefile src/util/Makefile.template ; do
mv $file $file.orig
sed -e 's/^true:;$/true:/' -e 's/^[ ]*$//' $file.orig >$file
done
cd src
obj=obj.`util/archtype`
mkdir -p $obj
cp configs/freebsd $obj/Config
rm -f Config