summaryrefslogtreecommitdiff
path: root/misc/amanda/scripts/configure
blob: 1b0608e7e9f82f439118ac540ed910f936557ad4 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo CFLAGS=${CFLAGS}

if [ "X`uname -s`" = X"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