diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-15 09:54:16 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-15 09:54:16 +0000 |
commit | 3ad49071cbfcf9ecc48c4a1a7264c5095901df81 (patch) | |
tree | 8f7c5a12c282e1fe2c9c82a2eff69b4d44193524 /games/fgkicker | |
parent | 3433ffbb56962c42f46a1f34b1c991edeba79de7 (diff) | |
download | ports-3ad49071cbfcf9ecc48c4a1a7264c5095901df81.tar.gz ports-3ad49071cbfcf9ecc48c4a1a7264c5095901df81.zip |
Notes
Diffstat (limited to 'games/fgkicker')
-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` + |