summaryrefslogtreecommitdiff
path: root/net/gated/scripts
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1998-06-26 00:23:37 +0000
committerchristos <christos@pkgsrc.org>1998-06-26 00:23:37 +0000
commit82500efd0dbcdc9e94d631da0a082e249aa0abe8 (patch)
tree9c2d594003404e057510b46f5e2babb63de36713 /net/gated/scripts
parent4b692b15cfa89c760af2dda1c058e46baf587007 (diff)
downloadpkgsrc-82500efd0dbcdc9e94d631da0a082e249aa0abe8.tar.gz
gated package from FreeBSD
Diffstat (limited to 'net/gated/scripts')
-rwxr-xr-xnet/gated/scripts/configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/gated/scripts/configure b/net/gated/scripts/configure
new file mode 100755
index 00000000000..f87d4030182
--- /dev/null
+++ b/net/gated/scripts/configure
@@ -0,0 +1,18 @@
+#!/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/netbsd $obj/Config
+rm -f Config