Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 08:40:18 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r1314 - in trunk: Mk www/firefox
Message-ID:  <201308140840.r7E8eI6E015817@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Aug 14 08:40:17 2013
New Revision: 1314

Log:
allow building tests

Modified:
   trunk/Mk/bsd.gecko.mk
   trunk/www/firefox/Makefile.options

Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk	Wed Aug 14 08:40:10 2013	(r1313)
+++ trunk/Mk/bsd.gecko.mk	Wed Aug 14 08:40:17 2013	(r1314)
@@ -649,7 +649,7 @@
 # Standard options
 MOZ_CHROME?=	omni
 MOZ_TOOLKIT?=	cairo-gtk2
-MOZ_OPTIONS+=	--disable-tests 	\
+MOZ_OPTIONS+=	\
 		--enable-chrome-format=${MOZ_CHROME} \
 		--enable-default-toolkit=${MOZ_TOOLKIT} \
 		--with-pthreads
@@ -811,6 +811,12 @@
 MOZ_OPTIONS+=	--disable-logging
 .endif
 
+.if ${PORT_OPTIONS:MTESTS}
+MOZ_OPTIONS+=	--enable-tests
+.else
+MOZ_OPTIONS+=	--disable-tests
+.endif
+
 MOZ_SED_ARGS+=	-e's|@CPPFLAGS@|${CPPFLAGS}|g'		\
 		-e 's|@CFLAGS@|${CFLAGS}|g'		\
 		-e 's|@LDFLAGS@|${LDFLAGS}|g'		\

Modified: trunk/www/firefox/Makefile.options
==============================================================================
--- trunk/www/firefox/Makefile.options	Wed Aug 14 08:40:10 2013	(r1313)
+++ trunk/www/firefox/Makefile.options	Wed Aug 14 08:40:17 2013	(r1314)
@@ -1,7 +1,7 @@
 # -*- makefile-bsdmake -*-
 
 OPTIONS_DEFINE+=	DBUS DEBUG GCONF GIO GNOMEUI GNOMEVFS2 GSTREAMER \
-			LIBPROXY LOGGING OPTIMIZED_CFLAGS PGO
+			LIBPROXY LOGGING OPTIMIZED_CFLAGS PGO TESTS
 OPTIONS_DEFAULT+=	ALSA DBUS GIO LOGGING
 
 OPTIONS_SINGLE+=	AUDIO



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