diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-15 17:54:16 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-15 17:54:16 +0800 |
commit | 725abe11ee1afd8cf565d7adca49c97f6d8cf3d3 (patch) | |
tree | 8f7c5a12c282e1fe2c9c82a2eff69b4d44193524 /games | |
parent | fb6d05c19c83db90debcf9dd4f0569d05a7df069 (diff) | |
download | freebsd-ports-gnome-725abe11ee1afd8cf565d7adca49c97f6d8cf3d3.tar.gz freebsd-ports-gnome-725abe11ee1afd8cf565d7adca49c97f6d8cf3d3.tar.zst freebsd-ports-gnome-725abe11ee1afd8cf565d7adca49c97f6d8cf3d3.zip |
1: Stagify.
2: fix build with clang.
Approved by: portmgr@
Diffstat (limited to 'games')
-rw-r--r-- | games/fgkicker/Makefile | 7 | ||||
-rw-r--r-- | games/fgkicker/files/patch-fgkicker.mak | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/games/fgkicker/Makefile b/games/fgkicker/Makefile index 346fe627c60f..8f948a5985a5 100644 --- a/games/fgkicker/Makefile +++ b/games/fgkicker/Makefile @@ -16,7 +16,6 @@ RUN_DEPENDS= fgfs:${PORTSDIR}/games/flightgear USE_GNOME= gtk20 USES= gmake pkgconfig -NO_STAGE= yes post-patch: @${REINPLACE_CMD} "s|-fmessage-length=0|| ; s|-O0|${CFLAGS}|" ${WRKSRC}/fgkicker.mak @@ -24,9 +23,9 @@ do-build: (cd ${WRKSRC} && ${GMAKE} -f ${PORTNAME}.mak ${PORTNAME}) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/airports.dat ${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/airports.dat ${STAGEDIR}${DATADIR} install-user: ${INSTALL_DATA} ${DATADIR}/airports.dat $$HOME diff --git a/games/fgkicker/files/patch-fgkicker.mak b/games/fgkicker/files/patch-fgkicker.mak new file mode 100644 index 000000000000..3c24c07f66be --- /dev/null +++ b/games/fgkicker/files/patch-fgkicker.mak @@ -0,0 +1,11 @@ +--- fgkicker.mak.orig 2014-06-15 17:50:51.745429612 +0800 ++++ fgkicker.mak 2014-06-15 17:50:58.109420658 +0800 +@@ -28,7 +28,7 @@ MAKEOPTIONS = -j1 + + GCC = gcc + +-CC = gcc ++CC ?= gcc + + CFLAGS = $(INCLUDES) $(CWARNFLAGS) $(CDEBUGFLAGS) $(COPTIMIZEFLAGS) $(CLANGFLAGS) $(CCODEFLAGS) `pkg-config --cflags gtk+-2.0` + |