- Unconditionally disable precompiled headers to fix build with old gcc on -current kernel
MFH: 2015Q2
This commit is contained in:
parent
6b2e41c430
commit
adcd235bdf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=389738
@ -14,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Generative software that evolves images/textures/patterns
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
@ -35,17 +36,9 @@ DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "${PORTNAME}" \
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${CXX:T:M*clang*} || ${OSVERSION} >= 1000024
|
||||
.for i in libevolvotron libfunction
|
||||
CXXFLAGS+= -include ${WRKSRC}/${i}/${i}_precompiled.h \
|
||||
-I${WRKSRC}/${i}
|
||||
CXXFLAGS+= -include ${WRKSRC}/${i}/${i}_precompiled.h
|
||||
.endfor
|
||||
.else
|
||||
QMAKE_ARGS+= CONFIG+=precompile_header
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
@ -77,4 +70,4 @@ do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user