diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-03-08 08:04:10 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-03-08 08:04:10 +0000 |
commit | c401538bead79fdc9e59a04467e35222b7e7b544 (patch) | |
tree | 84106bbfa516aa641ebbf8f5081adecccd0b4aa1 /games/megaglest | |
parent | 3ce0866a9c937f93aedead3fd9faca8580b92a2c (diff) | |
download | ports-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/Makefile | 4 |
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} |