From ef603b2427ae225f62a725e7c6853bd3353257b0 Mon Sep 17 00:00:00 2001 From: antoine Date: Thu, 16 Apr 2015 15:39:43 +0000 Subject: Fix build with GCC on recent head kernel by disabling PCH for GCC With hat: portmgr --- lang/phantomjs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/phantomjs/Makefile b/lang/phantomjs/Makefile index a3595fae0f34..46c3e68c5a89 100644 --- a/lang/phantomjs/Makefile +++ b/lang/phantomjs/Makefile @@ -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/ -- cgit