openbsd-ports/mbone/sdr/patches/patch-common_configure
wilfried bb1af71e4d * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:33:18 +00:00

30 lines
938 B
Plaintext

$OpenBSD: patch-common_configure,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- common/configure.orig Mon Jun 21 12:53:35 1999
+++ common/configure Fri Mar 16 20:56:34 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
@@ -99,6 +99,16 @@ case $OSTYPE in
PROFILE="-pg"
ECHO="echo -e"
;;
+ OpenBSD )
+ WFLAGS="${CFLAGS}"
+ INCLUDE="-I/usr/local/include"
+ LDLIBS="-lm"
+ DEBUG="-g"
+ CHAR="-fsigned-char"
+ OPTIMIZE="-O4"
+ PROFILE="-pg"
+ ECHO=/bin/echo
+ ;;
FreeBSD ) CC="gcc"
WFLAGS=$GCCWFLAGS
INCLUDE="-I/usr/local/include"