Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2016 06:35:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423037 - head/lang/phantomjs
Message-ID:  <201610010635.u916ZotX053355@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct  1 06:35:50 2016
New Revision: 423037
URL: https://svnweb.freebsd.org/changeset/ports/423037

Log:
  - Convert sparc64 BROKEN to helper
  - Mark BROKEN on 9.0 i386:
  
  In file included from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/qglobal.h:1,
                   from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/qmake/library/qmake_global.h:45,
                   from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/qmake/library/qmakeparser.h:45,
                   from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/qmake/library/qmakeevaluator.h:49,
                   from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/qmake/project.h:45,
                   from /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/qmake/project.cpp:42:
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:443: error: 'QT_POINTER_SIZE' was not declared in this scope
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:443: error: template argument 1 is invalid
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:443: error: expected initializer before 'qregisterint'
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:444: error: 'QT_POINTER_SIZE' was not declared in this scope
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:444: error: template argument 1 is invalid
  /wrkdirs/usr/ports/lang/phantomjs/work/phantomjs-2.0.0/src/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:444: error: expected initializer before 'qregisteruint'
  
  Reported by:	pkg-fallout
  Obtained from:	portmgr blanket

Modified:
  head/lang/phantomjs/Makefile

Modified: head/lang/phantomjs/Makefile
==============================================================================
--- head/lang/phantomjs/Makefile	Sat Oct  1 06:32:18 2016	(r423036)
+++ head/lang/phantomjs/Makefile	Sat Oct  1 06:35:50 2016	(r423037)
@@ -19,6 +19,9 @@ LIB_DEPENDS=	libfreetype.so:print/freety
 		libicui18n.so:devel/icu \
 		libpng.so:graphics/png
 
+BROKEN_sparc64=		does not link on sparc64
+BROKEN_FreeBSD_9_i386=	does not build
+
 PROJECTHOST=	phantomjs
 USES=		bison:build compiler:c++11-lang gmake gperf jpeg perl5 pkgconfig python:build zip
 USE_PERL5=	build
@@ -54,10 +57,4 @@ do-build:
 do-install:
 	cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/phantomjs ${STAGEDIR}${PREFIX}/bin/
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not link on sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610010635.u916ZotX053355>