diff options
Diffstat (limited to 'sysutils/amanda')
-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 |