summaryrefslogtreecommitdiff
path: root/graphics/vertex/files/patch-platforms.ini
blob: 3548d3f938013c2ea18721bd67ec28393a570052 (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
--- ./vertex/platforms.ini.orig	2004-11-01 07:35:03.000000000 +0100
+++ ./vertex/platforms.ini	2008-04-14 10:22:58.000000000 +0200
@@ -22,23 +22,23 @@
 
 Platform = UNIX
         Description = For most any UNIX system
-        PREFIX = /usr/
-        CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math \
+        PREFIX = %%PREFIX%%
+        CFLAGS = %%CXXFLAGS%% \
 -D__USE_BSD
         LIBS = -lm
         LIB_DIR =
-	CC = cc
-	CPP = c++
+	CC = %%CC%%
+	CPP = %%CXX%%
         PlatformSearchPathInclude = /usr/include/
-        PlatformSearchPathInclude = /usr/X11R6/include/
+        PlatformSearchPathInclude = %%LOCALBASE%%/include/
         PlatformSearchPathLib = /lib/
         PlatformSearchPathLib = /usr/lib/
-        PlatformSearchPathLib = /usr/X11R6/lib/
+        PlatformSearchPathLib = %%LOCALBASE%%/lib/
         PlatformSearchPathEtc = /etc/
         PlatformSearchPathEtc = /usr/etc/
         PlatformSearchPathBin = /bin/
         PlatformSearchPathBin = /usr/bin/
-        PlatformSearchPathBin = /usr/X11R6/bin/
+        PlatformSearchPathBin = %%LOCALBASE%%/bin/
         PlatformSearchPathData = /usr/share/icons/
         PlatformFeature = debug
                 Description = Just adds -g to the CFLAGS for debugging
@@ -51,7 +51,7 @@
 # Newer versions of Imlib only need to link to -lImlib
 #		FeatureLIBS = -lImlib -lpng -ltiff -ljpeg -lz
 		FeatureLIBS = -lImlib
-                FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureLIB_DIR = -L%%LOCALBASE%%/lib/
                 FeatureDepend = Imlib-lib
                         DependType = Library
                         MustExist = Yes
@@ -83,11 +83,11 @@
                 MustExist = Yes
                 FeatureCFLAGS = `gtk-config --cflags`
                 FeatureLIBS = `gtk-config --libs`
-		FeatureLIB_DIR = -L/usr/X11R6/lib/
+		FeatureLIB_DIR = -L%%LOCALBASE%%/lib/
                 FeatureDepend = gtk-lib
                         DependType = Library
                         MustExist = Yes
-                        DependPath = libgtk.so
+                        DependPath = libgtk-12.so
                         DependGrepString = gtk_init
                 FeatureDepend = gtk-devel
                         DependType = Program
@@ -98,7 +98,7 @@
                 MustExist = Yes
                 FeatureCFLAGS =
                 FeatureLIBS = -lgtkgl
-                FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureLIB_DIR = -L%%LOCALBASE%%/lib/
                 FeatureDepend = gtkgl-lib
                         DependType = Library
                         MustExist = Yes