diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-03-08 16:04:10 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-03-08 16:04:10 +0800 |
commit | 293b4b20649244406813c811cab80157f449e734 (patch) | |
tree | 7e4a0064fdcdc66000791a7845755050f6c92c45 /games | |
parent | 2ca12b7ec0b6410bd0f9c1668039d54a00f1c4fb (diff) | |
download | freebsd-ports-gnome-293b4b20649244406813c811cab80157f449e734.tar.gz freebsd-ports-gnome-293b4b20649244406813c811cab80157f449e734.tar.zst freebsd-ports-gnome-293b4b20649244406813c811cab80157f449e734.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)
Diffstat (limited to 'games')
-rw-r--r-- | games/crossfire-server/Makefile | 1 | ||||
-rw-r--r-- | games/f1spirit-remake/Makefile | 1 | ||||
-rw-r--r-- | games/kuklomenos/Makefile | 1 | ||||
-rw-r--r-- | games/megaglest/Makefile | 4 | ||||
-rw-r--r-- | games/springlobby/Makefile | 3 |
5 files changed, 10 insertions, 0 deletions
diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile index a28df53add9c..6893275527b6 100644 --- a/games/crossfire-server/Makefile +++ b/games/crossfire-server/Makefile @@ -48,6 +48,7 @@ post-patch: s|-ldl||g ; \ s|python[{].*[}]|${PYTHON_VERSION}|g ; \ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/socket/metaserver.c post-install: @${MKDIR} ${DATADIR}/maps diff --git a/games/f1spirit-remake/Makefile b/games/f1spirit-remake/Makefile index 027e9859b67d..136bf07cb234 100644 --- a/games/f1spirit-remake/Makefile +++ b/games/f1spirit-remake/Makefile @@ -34,6 +34,7 @@ post-patch: -e 's|"demos"|"${DATADIR}/demos"|g; s|designs/|${DATADIR}/&|g; \ s|f1spirit2.cfg|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \ s|sound/|${DATADIR}/&|g; s|tracks/|${DATADIR}/&|g' + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/sources/F1Shttp.cpp do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/f1s ${PREFIX}/bin diff --git a/games/kuklomenos/Makefile b/games/kuklomenos/Makefile index 336dcd752dc3..70edc15bc697 100644 --- a/games/kuklomenos/Makefile +++ b/games/kuklomenos/Makefile @@ -40,5 +40,6 @@ post-patch: 's|<SDL/SDL_mixer.h>|"SDL_mixer.h"|g' ${WRKSRC}/SDL_mixer/load_ogg.c @${REINPLACE_CMD} -e \ '/^sounds_DATA/s|Makefile.am||g' ${WRKSRC}/sounds/Makefile.in + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/net.cc .include <bsd.port.post.mk> 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} diff --git a/games/springlobby/Makefile b/games/springlobby/Makefile index b0e09ba42493..d9bd3c33516f 100644 --- a/games/springlobby/Makefile +++ b/games/springlobby/Makefile @@ -53,6 +53,9 @@ CMAKE_ARGS+= -DOPTION_SOUND:BOOL=OFF .endif post-patch: + @${REINPLACE_CMD} -e '/<curl\/types.h>/d' \ + ${WRKSRC}/src/utils/curlhelper.h \ + ${WRKSRC}/src/utils/downloader.cpp .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e '/install.*FILES.*share\/doc/ d' \ ${WRKSRC}/CMakeLists.txt |