mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
--- sc2/build/unix/config_proginfo_host.orig Tue Dec 26 21:07:45 2006
|
|
+++ sc2/build/unix/config_proginfo_host Tue Dec 26 21:09:26 2006
|
|
@@ -55,9 +55,9 @@
|
|
LIB_SDL_NAME="Simple DirectMedia Layer"
|
|
case "$HOST_SYSTEM" in
|
|
FreeBSD)
|
|
- LIB_SDL_CFLAGS='$(sdl11-config --cflags)'
|
|
- LIB_SDL_LDFLAGS='$(sdl11-config --libs)'
|
|
- LIB_SDL_VERSION='$(sdl11-config --version)'
|
|
+ LIB_SDL_CFLAGS='$(sdl-config --cflags)'
|
|
+ LIB_SDL_LDFLAGS='$(sdl-config --libs)'
|
|
+ LIB_SDL_VERSION='$(sdl-config --version)'
|
|
;;
|
|
Darwin)
|
|
LIB_SDL_CFLAGS=''
|
|
@@ -102,7 +102,7 @@
|
|
LIB_openal_CFLAGS=""
|
|
case "$HOST_SYSTEM" in
|
|
FreeBSD|OpenBSD)
|
|
- LIB_openal_LDFLAGS="-L/usr/local/lib -pthread -lopenal"
|
|
+ LIB_openal_LDFLAGS="-L${LOCALBASE}/lib -pthread -lopenal"
|
|
;;
|
|
MINGW32*|CYGWIN*)
|
|
LIB_openal_LDFLAGS="-lopenal32"
|
|
@@ -124,8 +124,8 @@
|
|
LIB_opengl_NAME="OpenGL"
|
|
case "$HOST_SYSTEM" in
|
|
FreeBSD|OpenBSD)
|
|
- LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE"
|
|
- LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL"
|
|
+ LIB_opengl_CFLAGS="-I${LOCALBASE}/include -D_THREAD_SAFE"
|
|
+ LIB_opengl_LDFLAGS="-L${LOCALBASE}/lib -lX11 -lXext -pthread -lGL"
|
|
;;
|
|
MINGW32*|CYGWIN*)
|
|
LIB_opengl_CFLAGS=""
|
|
@@ -154,8 +154,8 @@
|
|
LIB_vorbisfile_NAME="vorbisfile"
|
|
case "$HOST_SYSTEM" in
|
|
FreeBSD|OpenBSD)
|
|
- LIB_vorbisfile_CFLAGS="-I/usr/local/include"
|
|
- LIB_vorbisfile_LDFLAGS="-L/usr/local/lib -lvorbisfile -lvorbis"
|
|
+ LIB_vorbisfile_CFLAGS="-I${LOCALBASE}/include"
|
|
+ LIB_vorbisfile_LDFLAGS="-L${LOCALBASE}/lib -lvorbisfile -lvorbis"
|
|
;;
|
|
MINGW32*|CYGWIN*)
|
|
LIB_vorbisfile_CFLAGS=""
|
|
@@ -183,8 +183,8 @@
|
|
LIB_tremor_NAME="tremor"
|
|
case "$HOST_SYSTEM" in
|
|
FreeBSD|OpenBSD)
|
|
- LIB_tremor_CFLAGS="-I/usr/local/include"
|
|
- LIB_tremor_LDFLAGS="-L/usr/local/lib -lvorbisidec"
|
|
+ LIB_tremor_CFLAGS="-I${LOCALBASE}/include"
|
|
+ LIB_tremor_LDFLAGS="-L${LOCALBASE}/lib -lvorbisidec"
|
|
;;
|
|
Darwin)
|
|
# Assumed values - please let me know if you can verify this.
|