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" ;;