freebsd-ports/graphics/vertex/files/patch-platforms.ini
Kirill Ponomarev 08ec672526 - Update to version 0.1.15
PR:		58382
Submitted by:	Ports Fury
2003-10-24 20:08:06 +00:00

65 lines
2.5 KiB
INI

--- vertex/platforms.ini.orig Wed Oct 1 06:44:17 2003
+++ vertex/platforms.ini Tue Oct 21 22:05:42 2003
@@ -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 = %%X11BASE%%/include/
PlatformSearchPathLib = /lib/
PlatformSearchPathLib = /usr/lib/
- PlatformSearchPathLib = /usr/X11R6/lib/
+ PlatformSearchPathLib = %%X11BASE%%/lib/
PlatformSearchPathEtc = /etc/
PlatformSearchPathEtc = /usr/etc/
PlatformSearchPathBin = /bin/
PlatformSearchPathBin = /usr/bin/
- PlatformSearchPathBin = /usr/X11R6/bin/
+ PlatformSearchPathBin = %%X11BASE%%/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%%X11BASE%%/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%%X11BASE%%/lib/
FeatureDepend = gtk-lib
DependType = Library
MustExist = Yes
- DependPath = libgtk.so
+ DependPath = libgtk12.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%%X11BASE%%/lib/
FeatureDepend = gtkgl-lib
DependType = Library
MustExist = Yes