MFH: r350088
- Fix build on HEAD (unknown clang option -malign-double) Approved by: portmgr
This commit is contained in:
parent
c65fbb7ca6
commit
79a31255aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2014Q2/; revision=351742
1 changed files with 4 additions and 7 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue