openbsd-ports/mbone/common/patches/patch-aa
2001-03-17 17:15:29 +00:00

38 lines
1.0 KiB
Plaintext

--- configure.orig Mon Jun 21 12:53:35 1999
+++ configure Fri Mar 16 20:36:56 2001
@@ -44,7 +44,7 @@ case $OSTYPE in
;;
HP-UX ) OSTYPE=HPUX
;;
- Linux | IRIX | IRIX64 | FreeBSD | NetBSD )
+ Linux | IRIX | IRIX64 | FreeBSD | NetBSD | OpenBSD)
;;
* ) echo "$OSTYPE not supported. Sorry."
exit
@@ -118,6 +118,15 @@ case $OSTYPE in
OPTIMIZE="-O4"
PROFILE="-pg"
;;
+ OpenBSD )
+ WFLAGS="${CFLAGS}"
+ INCLUDE="-I${LOCALBASE}include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ;;
NetBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"
@@ -241,9 +250,6 @@ do
CHECK_FLAG=-fbounds-checking
CHECK_LIB=-lcheck
echo "Enabled bounds checking option"
- else
- DEFS="$DEFS $1"
- echo "Added $1 compile flag"
fi
shift
done