aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox/files
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-10-22 17:26:56 +0800
committeralane <alane@FreeBSD.org>2002-10-22 17:26:56 +0800
commitd8cb330e7903d3d74b69f3a8b302a284a89c35d3 (patch)
tree9ed417a3749a3d5213a5e12cfc1ab6fd302cbc0c /www/firefox/files
parent731fcd931157b889db0937b1dfa7b357e64a2f83 (diff)
downloadfreebsd-ports-gnome-d8cb330e7903d3d74b69f3a8b302a284a89c35d3.tar.gz
freebsd-ports-gnome-d8cb330e7903d3d74b69f3a8b302a284a89c35d3.tar.zst
freebsd-ports-gnome-d8cb330e7903d3d74b69f3a8b302a284a89c35d3.zip
1. Expanded configure/make options in files/mozconfig.in.
* Fixed problem with reliably finding perl 5.8.0. * Made build faster. * Shut up most of the compiler warnings (turned off --pedantic). * Strip the binaries. * Saved 2 meg on size of binary package (16M -> 14M). 2. Moved install to ${X11BASE}/lib/phoenix to keep it out of the way of mozilla, since it uses the same namespace for dirs/files. 3. Link bin/phoenix and bin/phoenix.config into install tree's bin dir. TO DO: make installation smaller. make distfile smaller. test,test,test.
Diffstat (limited to 'www/firefox/files')
-rw-r--r--www/firefox/files/mozconfig.in27
1 files changed, 24 insertions, 3 deletions
diff --git a/www/firefox/files/mozconfig.in b/www/firefox/files/mozconfig.in
index 9a02a88d6c7b..f923e6f239b5 100644
--- a/www/firefox/files/mozconfig.in
+++ b/www/firefox/files/mozconfig.in
@@ -1,5 +1,7 @@
# .mozconfig.in -*-shell-script-*-
# $FreeBSD$
+######################################################################
+# standard opts from README
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1
ac_add_options --enable-crypto
@@ -8,16 +10,35 @@ ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-optimize=-O2
+######################################################################
# FBSD specific
+export PERL=@LOCALBASE@/bin/perl5.8.0
+mk_add_options PERL=$PERL
export GTK_CONFIG=@X11BASE@/bin/gtk12-config
mk_add_options GTK_CONFIG=$GTK_CONFIG
export GLIB_CONFIG=@LOCALBASE@/bin/glib12-config
mk_add_options GLIB_CONFIG=$GLIB_CONFIG
-# Use ports for these
+######################################################################
+# Use ports for these libraries
ac_add_options --with-system-jpeg=@LOCALBASE@
ac_add_options --with-system-zlib
ac_add_options --with-system-png=@LOCALBASE@
ac_add_options --with-system-mng=@LOCALBASE@
-# other options
-ac_add_options --disable-ldap
+######################################################################
+# enable features
ac_add_options --with-pthreads
+ac_add_options --enable-crypto
+ac_add_options --enable-xinerama
+ac_add_options --enable-reorder
+ac_add_options --enable-strip
+#ac_add_options --enable-crash-on-assert
+######################################################################
+# disable unneeded to speed up build/runtime
+ac_add_options --disable-tests
+ac_add_options --disable-ldap
+ac_add_options --disable-logging
+ac_add_options --disable-dtd-debug
+ac_add_options --disable-auto-deps
+ac_add_options --disable-pedantic
+######################################################################
+