summaryrefslogtreecommitdiff
path: root/games/uqm/files/patch-build-unix-config_proginfo_host
blob: 68871e58640efc5e77dc08f58f53f6a53facc482 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- build/unix/config_proginfo_host.orig	Tue Feb  7 03:45:58 2006
+++ build/unix/config_proginfo_host	Tue Feb  7 03:48:21 2006
@@ -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${X11BASE}/include -D_THREAD_SAFE"
+		LIB_opengl_LDFLAGS="-L${X11BASE}/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.