c842552dbf
2. Disable javascript debugger (like we're at a stage where we want to do that .... hahaha). 3. Remove dupes from files/mozconfig.in. 4. Whack the share and include dirs in a post-install target (I know it's slower that way, but I'm gonna let Trevor work out how to do it otherwise, since he so kindly volunteered.) 5. We need an icon for this, people. Any graphics geeks out there? Thanks to Adam Weinberger for his valuable info about perl versions, and his continuing research. Thanks to everybody else who's tested, even if y'all did report the same thing. 8-) Finally, thanks to Warren Zevon, whose song My ****'s ****ed Up certainly applies to the early stages of this port.
52 lines
1.9 KiB
Bash
52 lines
1.9 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
|
|
######################################################################
|
|
# FBSD specific
|
|
export CPPFLAGS="-I@X11BASE@/include -I@LOCALBASE@/include"
|
|
export CFLAGS="@CFLAGS@"
|
|
export LIBS="@LIBS@"
|
|
export LDFLAGS="-L@X11BASE@/lib -L@LOCALBASE@/lib"
|
|
export DSOFLAGS="${LDFLAGS}"
|
|
export CONFIG_SH=/bin/sh
|
|
export XP_UNIX=1
|
|
test -x /usr/bin/perl && export PERL=/usr/bin/perl \
|
|
|| export PERL=/usr/local/bin/perl
|
|
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
|
|
# Configure options for installation
|
|
ac_add_options --prefix=@PREFIX@
|
|
######################################################################
|
|
# 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-xft
|
|
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 and/or save space
|
|
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
|
|
ac_add_options --disable-jsd
|
|
######################################################################
|