[Midnightbsd-cvs] mports [22977] trunk/Mk/extensions/gecko.pre.mk: use a newer compiler with firefox > 49
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Nov 25 11:59:56 EST 2017
Revision: 22977
http://svnweb.midnightbsd.org/mports/?rev=22977
Author: laffer1
Date: 2017-11-25 11:59:55 -0500 (Sat, 25 Nov 2017)
Log Message:
-----------
use a newer compiler with firefox > 49
Modified Paths:
--------------
trunk/Mk/extensions/gecko.pre.mk
Modified: trunk/Mk/extensions/gecko.pre.mk
===================================================================
--- trunk/Mk/extensions/gecko.pre.mk 2017-11-25 16:03:51 UTC (rev 22976)
+++ trunk/Mk/extensions/gecko.pre.mk 2017-11-25 16:59:55 UTC (rev 22977)
@@ -86,12 +86,24 @@
MOZILLA_BIN?= ${PORTNAME}-bin
MOZILLA_EXEC_NAME?=${MOZILLA}
MOZ_RPATH?= ${MOZILLA}
-USES+= cpe compiler:c++11-lang gmake iconv perl5 pkgconfig \
+USES+= cpe gmake iconv perl5 pkgconfig \
python:2.7,build desktop-file-utils
CPE_VENDOR?=mozilla
USE_PERL5= build
USE_XORG= x11 xcomposite xdamage xext xfixes xrender xt
+.if ${MOZILLA_VER:R:R} >= 49
+USES+= compiler:c++14-lang
+CPPFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
+ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528
+.else
+USES+= compiler:c++11-lang
+.endif
+
+.if ${MOZILLA_VER:R:R} >= 50
+USE_XORG+= xcb
+.endif
+
.if ${MOZILLA} != "libxul"
BUNDLE_LIBS= yes
.endif
More information about the Midnightbsd-cvs
mailing list