aboutsummaryrefslogtreecommitdiffstats
path: root/games/shaaft
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-01 04:20:49 +0800
committerrafan <rafan@FreeBSD.org>2006-12-01 04:20:49 +0800
commitc34278c624d73d7991862d3a5737004f8b2d8c7e (patch)
tree0d1628df5e39e3d0b1c96665fc2dedad32297726 /games/shaaft
parentc1b1b10387f549c90f05cf0261e1dde6614da4ce (diff)
downloadfreebsd-ports-gnome-c34278c624d73d7991862d3a5737004f8b2d8c7e.tar.gz
freebsd-ports-gnome-c34278c624d73d7991862d3a5737004f8b2d8c7e.tar.zst
freebsd-ports-gnome-c34278c624d73d7991862d3a5737004f8b2d8c7e.zip
- Respect X11BASE
Reported by: pointyhat
Diffstat (limited to 'games/shaaft')
-rw-r--r--games/shaaft/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile
index 49475e5ff44e..0244b1c551be 100644
--- a/games/shaaft/Makefile
+++ b/games/shaaft/Makefile
@@ -37,6 +37,7 @@ BROKEN= "Does not compile on sparc64"
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG:T}|g ; \
s|^CXXFLAGS|#CXXFLAGS|g ; \
+ s|/usr/X11R6|${X11BASE}|g ; \
s|-lSDL | |g ; \
s|-lpng12|-lpng|g' ${WRKSRC}/configure
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \