From b87ecbb365c3c48efc6bb5b0819088b33a58bf2c Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 13 Oct 1997 14:03:10 +0000 Subject: Add support for NetBSD, using uname -s to work out which OS we're on. --- sysutils/amanda/scripts/configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysutils/amanda') 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 -- cgit v1.2.3