aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2012-03-07 08:38:13 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2012-03-07 08:38:13 +0800
commitc2c5874a283cfb9d23147c7c7d211e634c8fe4da (patch)
tree1ef4cb4ebd4fbe0350fd91da9f786cddfbb06491 /games
parent797d22670c4891c338a0ec3977475dd17c36adf8 (diff)
downloadfreebsd-ports-gnome-c2c5874a283cfb9d23147c7c7d211e634c8fe4da.tar.gz
freebsd-ports-gnome-c2c5874a283cfb9d23147c7c7d211e634c8fe4da.tar.zst
freebsd-ports-gnome-c2c5874a283cfb9d23147c7c7d211e634c8fe4da.zip
- Fix build
Reported by: pointyhat
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/