aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-12-20 01:52:54 +0800
committermiwi <miwi@FreeBSD.org>2007-12-20 01:52:54 +0800
commitdaebd52642cffd652bf9cae1425f7593fdda6ee1 (patch)
tree8087383f26144008f6e26eeb6a4478b9ad469ae4 /games
parent144a81d80816924a8523dc840cb1211f339116ac (diff)
downloadfreebsd-ports-gnome-daebd52642cffd652bf9cae1425f7593fdda6ee1.tar.gz
freebsd-ports-gnome-daebd52642cffd652bf9cae1425f7593fdda6ee1.tar.zst
freebsd-ports-gnome-daebd52642cffd652bf9cae1425f7593fdda6ee1.zip
- Fix Build
Submitted by: pointyhat Approved by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/zatacka/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/zatacka/Makefile b/games/zatacka/Makefile
index d31e110c90f8..d33eddc1459d 100644
--- a/games/zatacka/Makefile
+++ b/games/zatacka/Makefile
@@ -23,6 +23,7 @@ USE_GMAKE= yes
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include"
post-patch:
- @${REINPLACE_CMD} -e 's|DATADIR|"${DATADIR}"|' ${WRKSRC}/src/main.cpp
+ @${REINPLACE_CMD} -e 's|__linux__|__FreeBSD__|; s|\[30\]|[PATH_MAX]|' \
+ ${WRKSRC}/src/main.cpp
.include <bsd.port.mk>