1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Fix build with GCC on recent head kernel by disabling PCH for GCC

With hat:	portmgr
This commit is contained in:
Antoine Brodin 2015-04-16 15:39:43 +00:00
parent e78a6af418
commit af663bd3f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384116

View File

@ -25,7 +25,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/phantomjs
do-build:
cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} OSTYPE=freebsd MAKEFLAGS= PATH=${PATH} bash -x build.sh --jobs ${MAKE_JOBS_NUMBER} --confirm
cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} OSTYPE=freebsd MAKEFLAGS= PATH=${PATH} bash -x build.sh --jobs ${MAKE_JOBS_NUMBER} --confirm \
--qt-config '-no-pch'
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${STAGEDIR}${PREFIX}/bin/