aboutsummaryrefslogtreecommitdiff
path: root/games/openlierox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/openlierox/Makefile')
-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/