aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2012-03-07 00:38:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2012-03-07 00:38:13 +0000
commit4b2de6c1f3a1d699539339111a6f118ef023247c (patch)
tree31d289b07c01309c06fcf7ad659f8136c3f0a206 /games
parentf2b5c0b368dfb8d9864f6961416df2b2302fa8df (diff)
downloadports-4b2de6c1f3a1d699539339111a6f118ef023247c.tar.gz
ports-4b2de6c1f3a1d699539339111a6f118ef023247c.zip
- Fix build
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=292859
Diffstat (limited to 'games')
-rw-r--r--games/openlierox/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/openlierox/Makefile b/games/openlierox/Makefile
index 8f78005a2ba7..fb64d10a0a26 100644
--- a/games/openlierox/Makefile
+++ b/games/openlierox/Makefile
@@ -60,6 +60,8 @@ USE_SDL+= mixer
post-patch:
@${REINPLACE_CMD} -e 's|-mt||; s|EXEC_PROGRAM.*OLXVER)|SET(OLXVER "${DISTVERSION}")|; \
s|/usr/local|${LOCALBASE}|' ${WRKSRC}/CMakeOlxCommon.cmake
+ @${FIND} ${WRKSRC} \( -name "*.cpp" -o -name "*.h" -o -name "*.cc" \) -print0 | ${XARGS} -0 -n1 \
+ ${REINPLACE_CMD} -e '/include.*curl\/types.h/ d'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/openlierox ${PREFIX}/bin/