freebsd-ports/graphics/libv3d/files/patch-platforms.ini
Ying-Chieh Liao ff8cd31b75 add libv3d 0.1.7
V3D IO Library
2002-07-02 18:49:58 +00:00

24 lines
928 B
INI

--- 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