From 1df065052ec94d4b0c12b7aae3f703354cb94d68 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 6 Feb 2003 17:46:06 +0000 Subject: [PATCH] OpenBSD fix. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@702 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/build/build_functions | 2 +- sc2/build/config_proginfo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sc2/build/build_functions b/sc2/build/build_functions index d34d8d65b..30ff9c641 100644 --- a/sc2/build/build_functions +++ b/sc2/build/build_functions @@ -167,7 +167,7 @@ build_check_config() { [ ! -e build.vars -o -n "$BUILD_RUN_CONFIG" ] || return build_config || exit $? - . build.vars + . ./build.vars . "${BUILD_REC_PATH}Makeinfo" unset BUILD_RUN_CONFIG } diff --git a/sc2/build/config_proginfo b/sc2/build/config_proginfo index a17f24eaa..ca45c628c 100644 --- a/sc2/build/config_proginfo +++ b/sc2/build/config_proginfo @@ -80,7 +80,7 @@ LIB_SDL_image_VERSION="" LIB_openal_NAME="OpenAL" LIB_openal_CFLAGS="" 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" ;; *) LIB_openal_LDFLAGS="-lopenal" ;; esac @@ -88,7 +88,7 @@ LIB_openal_VERSION="" LIB_opengl_NAME="OpenGL" case "$OSNAME" in - FreeBSD) + FreeBSD|OpenBSD) LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE" LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL" ;;