aboutsummaryrefslogtreecommitdiffstats
path: root/games/xroads
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /games/xroads
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- 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)
Diffstat (limited to 'games/xroads')
-rw-r--r--games/xroads/files/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/xroads/files/patch-aa b/games/xroads/files/patch-aa
index 7f0e9be73571..0d0c35316136 100644
--- a/games/xroads/files/patch-aa
+++ b/games/xroads/files/patch-aa
@@ -7,7 +7,7 @@
-DATAPATH = /usr/games/xroads/
-BINPATH = /usr/X11R6/bin/
+PREFIX ?= /usr/X11R6
-+X11BASE ?= /usr/X11R6
++LOCALBASE ?= /usr/X11R6
+DATAPATH = ${PREFIX}/share/xroads
+BINPATH = ${PREFIX}/bin
# I imagine you would use this BINPATH for Solaris:
@@ -18,7 +18,7 @@
#CFLAGS = -fomit-frame-pointer -O2 -Wall -DXRMPATH=\"$(DATAPATH)\"
-CFLAGS = -O6 -mpentium -g -Wall -DXRMPATH=\"$(DATAPATH)\"
-+CFLAGS += -DXRMPATH=\"$(DATAPATH)\" -I${X11BASE}/include
++CFLAGS += -DXRMPATH=\"$(DATAPATH)\" -I${LOCALBASE}/include
###########################################################################
# Links necessary for X11
@@ -27,7 +27,7 @@
### Linux machines use this line:
-LINK = -L/usr/X11R6/lib -I/usr/X11R6/include -lX11 -lm
-+LINK = -L${X11BASE}/lib -lX11 -lm
++LINK = -L${LOCALBASE}/lib -lX11 -lm
### This line should work on Sun machines:
#LINK = -L/usr/openwin/lib -I/usr/openwin/include -lX11 -lm