summaryrefslogtreecommitdiff
path: root/graphics/libv3d/files/patch-platforms.ini
blob: 5b9bc2d62069fbd4e7c8de0fa8edb60932cc9572 (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
--- libv3d/platforms.ini.orig	Wed Jul  3 02:37:49 2002
+++ libv3d/platforms.ini	Wed Jul  3 02:42:55 2002
@@ -23,8 +23,7 @@
 Platform = UNIX
         Description = For most any UNIX system
         PREFIX = /usr/
-        CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math \
--D__USE_BSD
+        CFLAGS = %%CFLAGS%% -D__USE_BSD
         LIBS = -lm
         LIB_DIR =
 	CC = cc
@@ -65,8 +64,9 @@
         PlatformFeature = opengl
                 Description = An implementation of OpenGL (ie Mesa3D)
                 MustExist = Yes
-                FeatureLIBS = -lGL -lGLU
-		FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureCFLAGS = -I%%X11BASE%%/include %%PTHREAD_CFLAGS%% -fPIC
+                FeatureLIBS = -lGL -lGLU %%PTHREAD_LIBS%%
+		FeatureLIB_DIR = -L%%X11BASE%%/lib/
                 FeatureDepend = gl-lib
                         DependType = Library
                         MustExist = Yes