diff options
author | sat <sat@FreeBSD.org> | 2006-09-24 02:05:29 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-09-24 02:05:29 +0800 |
commit | cc0236cd9e2bd3509087a4fe53164b90cd6cd48d (patch) | |
tree | ba0dd99451f37c088faa7fc4b12ca1ce5eb62eda | |
parent | 59b31b3f1af4eb618178835ff72e5de93ac3a012 (diff) | |
download | freebsd-ports-gnome-cc0236cd9e2bd3509087a4fe53164b90cd6cd48d.tar.gz freebsd-ports-gnome-cc0236cd9e2bd3509087a4fe53164b90cd6cd48d.tar.zst freebsd-ports-gnome-cc0236cd9e2bd3509087a4fe53164b90cd6cd48d.zip |
- Fix build on some archs by not using -march=$ARCH
- Honor CC/CXX
Reported by: pointyhat via kris
PR: ports/103249
Submitted by: Michael Johnson <ahze@FreeBSD.org>
-rw-r--r-- | games/palomino/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile index a734e564a5bf..3d933ed24c99 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -26,12 +26,14 @@ USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME} INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}/game/pony MAKEFILE= GNUmakefile +MAKE_ENV= CC="${CC}" CXX="${CXX}" post-patch: @${REINPLACE_CMD} -Ee 's!(string installDir = ).*$$!\1"${DATADIR}/";!' \ -e 's!../game/!!' ${WRKSRC}/palomino/game/pony/src/game_pony_init.cc @${REINPLACE_CMD} -Ee 's!(CC_FLAGS.*:=)!\1 $$(CFLAGS)!' ${WRKSRC}/gfx/GNUmakefile_common @${REINPLACE_CMD} -Ee 's!(-O[0-9s]?|-funroll-loops|-fno-inline)!!g' ${WRKSRC}/gfx/tools/cc-config.sh + @${REINPLACE_CMD} -e 's|-march=$$ARCH||' ${WRKSRC}/gfx/tools/cc-config.sh do-install: @${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/out/palomino ${PREFIX}/bin/ |