diff options
author | agc <agc> | 1997-10-13 14:03:10 +0000 |
---|---|---|
committer | agc <agc> | 1997-10-13 14:03:10 +0000 |
commit | b87ecbb365c3c48efc6bb5b0819088b33a58bf2c (patch) | |
tree | fc15c7353aa1b034d6347a473b2387c56ce4bd0b /sysutils | |
parent | 5c2fcae9598cfff71f3099dfa245326646ccba90 (diff) | |
download | pkgsrc-b87ecbb365c3c48efc6bb5b0819088b33a58bf2c.tar.gz |
Add support for NetBSD, using uname -s to work out which OS we're on.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/amanda/scripts/configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/amanda/scripts/configure b/sysutils/amanda/scripts/configure index 25832ebaf14..dc21ca87784 100644 --- a/sysutils/amanda/scripts/configure +++ b/sysutils/amanda/scripts/configure @@ -4,5 +4,9 @@ CFLAGS=`cat /tmp/build-ports-misc-amanda-cflags` rm /tmp/build-ports-misc-amanda-cflags echo $CFLAGS -mv $WRKSRC/config/config.h-freebsd2 $WRKSRC/config/config.h +if [ "X`uname -s`" = "NetBSD" ]; then + mv $WRKSRC/config/config.h-netbsd1 $WRKSRC/config/config.h +else + mv $WRKSRC/config/config.h-freebsd2 $WRKSRC/config/config.h +fi sed "s/#define MK_CCOPTS -g/#define MK_CCOPTS $CFLAGS/" < $WRKSRC/config/options.h-vanilla > $WRKSRC/config/options.h |