[Midnightbsd-cvs] mports [21996] trunk/www/libxul: turn off some features that wont work

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Oct 22 16:56:49 EDT 2016


Revision: 21996
          http://svnweb.midnightbsd.org/mports/?rev=21996
Author:   laffer1
Date:     2016-10-22 16:56:49 -0400 (Sat, 22 Oct 2016)
Log Message:
-----------
turn off some features that wont work

Modified Paths:
--------------
    trunk/www/libxul/Makefile

Added Paths:
-----------
    trunk/www/libxul/files/patch-ipc-chromium-chromium-config.mozbuild

Modified: trunk/www/libxul/Makefile
===================================================================
--- trunk/www/libxul/Makefile	2016-10-22 19:41:13 UTC (rev 21995)
+++ trunk/www/libxul/Makefile	2016-10-22 20:56:49 UTC (rev 21996)
@@ -11,6 +11,7 @@
 COMMENT?=	Mozilla runtime package that can be used to bootstrap XUL+XPCOM apps
 
 LICENSE=	mpl
+MAKE_JOBS_UNSAFE=	yes
 
 BUILD_DEPENDS=	nspr>=4.12:${PORTSDIR}/devel/nspr \
 		nss>=3.21.1:${PORTSDIR}/security/nss \
@@ -39,7 +40,8 @@
 LDFLAGS+=	-Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}
 USE_LDCONFIG=	${PREFIX}/lib/${MOZILLA}
 
-MOZ_OPTIONS?=	--enable-application=xulrunner
+MOZ_OPTIONS?=	--enable-application=xulrunner --disable-webrtc \
+		--disable-sandbox
 USE_GECKO=	gecko
 CPE_PRODUCT=	firefox_esr
 MOZILLA_EXEC_NAME=xulrunner
@@ -48,7 +50,7 @@
 MOZ_PKGCONFIG_FILES=	libxul-embedding libxul mozilla-js \
 			mozilla-plugin
 
-OPTIONS_EXCLUDE=	GSTREAMER LOGGING
+#OPTIONS_EXCLUDE=	GSTREAMER LOGGING
 OPTIONS_DEFINE=		RUST
 OPTIONS_DEFAULT=	BUNDLED_CAIRO GTK2
 

Added: trunk/www/libxul/files/patch-ipc-chromium-chromium-config.mozbuild
===================================================================
--- trunk/www/libxul/files/patch-ipc-chromium-chromium-config.mozbuild	                        (rev 0)
+++ trunk/www/libxul/files/patch-ipc-chromium-chromium-config.mozbuild	2016-10-22 20:56:49 UTC (rev 21996)
@@ -0,0 +1,11 @@
+--- ipc/chromium/chromium-config.mozbuild.orig	2016-10-22 16:46:56.322367796 -0400
++++ ipc/chromium/chromium-config.mozbuild	2016-10-22 16:47:22.648701976 -0400
+@@ -47,7 +47,7 @@
+             'OS_BSD': 1,
+         })
+ 
+-    elif CONFIG['OS_ARCH'] == 'FreeBSD' or CONFIG['OS_ARCH'] == 'GNU_kFreeBSD':
++    elif CONFIG['OS_ARCH'] == 'FreeBSD' or CONFIG['OS_ARCH'] == 'MidnightBSD':
+         DEFINES.update({
+             'OS_FREEBSD': 1,
+             'OS_BSD': 1,


Property changes on: trunk/www/libxul/files/patch-ipc-chromium-chromium-config.mozbuild
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list