aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libv3d/files/patch-platforms.ini
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libv3d/files/patch-platforms.ini')
-rw-r--r--graphics/libv3d/files/patch-platforms.ini24
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/libv3d/files/patch-platforms.ini b/graphics/libv3d/files/patch-platforms.ini
new file mode 100644
index 000000000000..a007ada69494
--- /dev/null
+++ b/graphics/libv3d/files/patch-platforms.ini
@@ -0,0 +1,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%%
++ FeatureLIBS = -lGL -lGLU %%PTHREAD_LIBS%%
++ FeatureLIB_DIR = -L%%X11BASE%%/lib/
+ FeatureDepend = gl-lib
+ DependType = Library
+ MustExist = Yes