diff options
author | agc <agc@pkgsrc.org> | 1997-10-13 14:03:10 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-10-13 14:03:10 +0000 |
commit | f501cbe43740f21ca5117121a31e2d9957eab42f (patch) | |
tree | fc15c7353aa1b034d6347a473b2387c56ce4bd0b /misc | |
parent | b805ca7b82d760d9e574b20ad648d0fbe92bf231 (diff) | |
download | pkgsrc-f501cbe43740f21ca5117121a31e2d9957eab42f.tar.gz |
Add support for NetBSD, using uname -s to work out which OS we're on.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/amanda/scripts/configure | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/amanda/scripts/configure b/misc/amanda/scripts/configure index 25832ebaf14..dc21ca87784 100644 --- a/misc/amanda/scripts/configure +++ b/misc/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 |