1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/uqm/files/patch-build-unix-config_proginfo_host
Pawel Pekala 5d13f7ab8e - Update to version 0.7.0
- Add LICENSE info
- Convert to OptionsNG

PR:		ports/175141
Submitted by:	Sender Ghost <lightside@gmx.com>
Approved by:	maintainer
2013-02-16 21:02:43 +00:00

45 lines
1.5 KiB
Plaintext

--- build/unix/config_proginfo_host.orig 2011-05-20 23:25:22.000000000 +0400
+++ build/unix/config_proginfo_host 2013-01-08 19:49:40.000000000 +0400
@@ -115,7 +115,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*|cegcc)
LIB_openal_LDFLAGS="-lopenal32"
@@ -144,8 +144,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*|cegcc)
LIB_opengl_CFLAGS=""
@@ -182,8 +182,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*|cegcc)
LIB_vorbisfile_CFLAGS=""
@@ -221,8 +221,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.