aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-08-28 05:52:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-08-28 05:52:15 +0800
commit72a9d953a44081d55158b68e5f74588f453ebd9c (patch)
tree2c8e4f17f820fdf5aab0418e4514c00c9498809d /games
parent090f716599ba0750e20792dbe73c19c5fa81e481 (diff)
downloadfreebsd-ports-gnome-72a9d953a44081d55158b68e5f74588f453ebd9c.tar.gz
freebsd-ports-gnome-72a9d953a44081d55158b68e5f74588f453ebd9c.tar.zst
freebsd-ports-gnome-72a9d953a44081d55158b68e5f74588f453ebd9c.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