freebsd-ports/graphics/vertex/files/patch-platforms.ini
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

65 lines
2.6 KiB
INI

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