aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-08-28 05:52:15 +0800
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-08-28 05:52:15 +0800
commit30fa6c870e6be378a82b163ded29c365ad90de0c (patch)
tree2c8e4f17f820fdf5aab0418e4514c00c9498809d /games
parente4f74eedc58c897ae874020c3cffd9a9ef2cdefb (diff)
downloadfreebsd-ports-gnome-30fa6c870e6be378a82b163ded29c365ad90de0c.tar.gz
freebsd-ports-gnome-30fa6c870e6be378a82b163ded29c365ad90de0c.tar.zst
freebsd-ports-gnome-30fa6c870e6be378a82b163ded29c365ad90de0c.zip
- Fix build on 10.X (pipe2 symbol conflicts with pipe2() from unistd.h)
Diffstat (limited to 'games')
-rw-r--r--games/kobodeluxe/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile
index cb4d1a32490f..20303d7d9859 100644
--- a/games/kobodeluxe/Makefile
+++ b/games/kobodeluxe/Makefile
@@ -56,6 +56,8 @@ post-patch:
s|-lSDL$$||; s|SDL/SDL|SDL|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(datadir)/games/kobo-deluxe|${DATADIR}|' \
${WRKSRC}/data/Makefile.in
+ @${REINPLACE_CMD} -e 's|pipe2|kobopipe2|g' ${WRKSRC}/enemies.h \
+ ${WRKSRC}/enemy.cpp
post-install:
${CHGRP} games ${PREFIX}/bin/kobodl