aboutsummaryrefslogtreecommitdiff
path: root/games/megaglest
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-08 08:04:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-03-08 08:04:10 +0000
commitc401538bead79fdc9e59a04467e35222b7e7b544 (patch)
tree84106bbfa516aa641ebbf8f5081adecccd0b4aa1 /games/megaglest
parent3ce0866a9c937f93aedead3fd9faca8580b92a2c (diff)
downloadports-c401538bead79fdc9e59a04467e35222b7e7b544.tar.gz
ports-c401538bead79fdc9e59a04467e35222b7e7b544.zip
- Fix build with curl 7.24.0: curl/types.h was removed (unused since Apr 2004)
Submitted by: sunpoet (myself) Tested by: exp-run by linimon Approved by: linimon (with portmgr hat)
Notes
Notes: svn path=/head/; revision=292936
Diffstat (limited to 'games/megaglest')
-rw-r--r--games/megaglest/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index 5330d4b55f49..791e1791cec2 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -45,6 +45,10 @@ PLIST_SUB+= EDITOR=""
PLIST_SUB+= EDITOR="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/<curl\/types.h>/d' \
+ ${WRKSRC}/source/shared_lib/sources/platform/posix/miniftpclient.cpp
+
do-install:
${STRIP_CMD} ${WRKSRC}/mk/linux/megaglest
@${MKDIR} ${DATADIR}