summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-30 20:20:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-30 20:20:49 +0000
commit4dbd24ee3efc4461426b5055129d352c11c37ced (patch)
treec99ecb902cbd75dd2e713f967aded393705bb399 /games
parent- Respect X11BASE (diff)
- Respect X11BASE
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=178373
Diffstat (limited to 'games')
-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 \