freebsd-ports/www/firefox36/files/mozconfig.in
Alan Eldridge c59321e54f 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.
2002-10-22 09:26:56 +00:00

44 lines
1.6 KiB
Bash

# .mozconfig.in -*-shell-script-*-
# $FreeBSD$
######################################################################
# standard opts from README
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1
ac_add_options --enable-crypto
ac_add_options --disable-tests
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 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@
######################################################################
# 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
######################################################################