aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/goggles/files/patch-build-config.linux
blob: 053d7be1af0cabb6ebef0a9f4779a0ca63d16dbd (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
--- build/config.linux.orig Sat Nov 13 17:30:53 2004
+++ build/config.linux  Sat Nov 13 17:44:09 2004
@@ -2,7 +2,7 @@
 #-------------------------------------------------------------------------------
 CONFIG_XV=${CONFIG_XV:-1}
 CONFIG_DXR3=${CONFIG_DXR3:-0}
-CONFIG_DVD_DEVICE="/dev/dvd"
+CONFIG_DVD_DEVICE="%%DVDDEVICE%%"
 
 # Possible defaults for other platforms.
 #CONFIG_DVD_DEVICE="/cdrom/cdrom0"                      # Solaris
@@ -15,13 +15,13 @@
 
 # Search and Installation Directories
 #-------------------------------------------------------------------------------
-FOX_PREFIX="${FOX_PREFIX:-/usr}"
-OGLE_PREFIX="${OGLE_PREFIX:-/usr}"
-GOGGLES_PREFIX="${GOGGLES_PREFIX:-/usr}"
-XLIB_PREFIX="/usr/X11R6"
-MENU_FILE_DIR="/usr/share/applications"
-MENU_ICON_DIR="/usr/share/icons"
-MENU_LINK_DIR="/usr/share/applnk-mdk/Multimedia/Video"
+FOX_PREFIX="%%LOCALBASE%%"
+OGLE_PREFIX="%%LOCALBASE%%"
+GOGGLES_PREFIX="%%PREFIX%%"
+XLIB_PREFIX="%%X11BASE%%"
+MENU_FILE_DIR="%%PREFIX%%/share/gnome/applications"
+MENU_ICON_DIR="%%PREFIX%%/share/icons"
+MENU_LINK_DIR="%%PREFIX%%/share/applnk-mdk/Multimedia/Video"
 
 # Libraries we need
 #----------------------------------------------------------------------------------------------------------------
@@ -91,8 +91,8 @@
 
 export CFLAGS="-Wall -O2 -march=i586 -mtune=i586"
 export CXXFLAGS="-Wall -O2 -march=i586 -mtune=i586"
-export CPPFLAGS="-I../include $OGLE_INCLUDE $FOX_INCLUDE"
-export LIBS="$OGLE_LIB $XV_LIBS $FOX_LIB"
+export CPPFLAGS="-I../include $OGLE_INCLUDE $FOX_INCLUDE -I%%X11BASE%%/include"
+export LIBS="$OGLE_LIB $XV_LIBS $FOX_LIB %%PTHREADLIBS%%"
 export DEFS="-DLINUX $DXR3_DEFS $XV_DEFS"
 #----------------------------------------------------------------------------------------------------------------