diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-04-04 18:14:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-04-04 18:14:34 +0800 |
commit | 1f4f21c8689082d95a2cd03f1319c4aaa30051f9 (patch) | |
tree | 2b17ea655ac65ab34ecdd2c79e6c2ab117955802 /games | |
parent | 7292504169750ddef2e9b166b65d052f4ce39f40 (diff) | |
download | freebsd-ports-gnome-1f4f21c8689082d95a2cd03f1319c4aaa30051f9.tar.gz freebsd-ports-gnome-1f4f21c8689082d95a2cd03f1319c4aaa30051f9.tar.zst freebsd-ports-gnome-1f4f21c8689082d95a2cd03f1319c4aaa30051f9.zip |
- Fix build on HEAD (unknown clang option -malign-double)
Diffstat (limited to 'games')
-rw-r--r-- | games/quantumminigolf/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/games/quantumminigolf/Makefile b/games/quantumminigolf/Makefile index 2dc66ef1a46b..fd3731dba76d 100644 --- a/games/quantumminigolf/Makefile +++ b/games/quantumminigolf/Makefile @@ -14,7 +14,7 @@ COMMENT= A computer game visualizing quantum mechanics LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libfftw3.so:${PORTSDIR}/math/fftw3 -USES= gmake +USES= gmake compiler:env USE_SDL= sdl ttf PLIST_FILES= bin/${PORTNAME} @@ -31,11 +31,11 @@ DESKTOP_ENTRIES="Quantum Minigolf" \ OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIONS_DEFAULT=OPTIMIZED_CFLAGS -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} CXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -funroll-all-loops -. if ${ARCH} == "i386" +. if ${ARCH} == "i386" && ${COMPILER_TYPE} != "clang" CXXFLAGS+= -malign-double . endif .endif @@ -54,12 +54,9 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${STAGEDIR}${DATADIR}/fonts ${INSTALL_DATA} ${WRKSRC}/tracks/*.bmp ${WRKSRC}/tracks/*.cfg \ ${STAGEDIR}${DATADIR}/tracks - -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |