OpenBSD fix.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@702 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-02-06 17:46:06 +00:00
parent 110e1f399b
commit 1df065052e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ build_check_config() {
[ ! -e build.vars -o -n "$BUILD_RUN_CONFIG" ] || return [ ! -e build.vars -o -n "$BUILD_RUN_CONFIG" ] || return
build_config || exit $? build_config || exit $?
. build.vars . ./build.vars
. "${BUILD_REC_PATH}Makeinfo" . "${BUILD_REC_PATH}Makeinfo"
unset BUILD_RUN_CONFIG unset BUILD_RUN_CONFIG
} }
+2 -2
View File
@@ -80,7 +80,7 @@ LIB_SDL_image_VERSION=""
LIB_openal_NAME="OpenAL" LIB_openal_NAME="OpenAL"
LIB_openal_CFLAGS="" LIB_openal_CFLAGS=""
case "$OSNAME" in case "$OSNAME" in
FreeBSD) LIB_openal_LDFLAGS="-L/usr/local/lib -pthread -lopenal" ;; FreeBSD|OpenBSD) LIB_openal_LDFLAGS="-L/usr/local/lib -pthread -lopenal" ;;
MINGW32*) LIB_openal_LDFLAGS="-lopenal32" ;; MINGW32*) LIB_openal_LDFLAGS="-lopenal32" ;;
*) LIB_openal_LDFLAGS="-lopenal" ;; *) LIB_openal_LDFLAGS="-lopenal" ;;
esac esac
@@ -88,7 +88,7 @@ LIB_openal_VERSION=""
LIB_opengl_NAME="OpenGL" LIB_opengl_NAME="OpenGL"
case "$OSNAME" in case "$OSNAME" in
FreeBSD) FreeBSD|OpenBSD)
LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE" LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE"
LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL" LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL"
;; ;;