Browse Source

* improved generic mozilla configuration to use $libdir/$pkg-$mozver, so we

can change $mozver if it doesn't match $ver


git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20645 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
be22fc3a9b
  1. 8
      www/seamonkey/mozilla-conf.in

8
www/seamonkey/mozilla-conf.in

@ -1,9 +1,8 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../seamonkey/mozilla-conf.in # Filename: package/.../seamonkey/mozilla-conf.in
# Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -17,6 +16,7 @@
# default prefix for mozilla derivatives # default prefix for mozilla derivatives
mozilla_prefix=opt/mozilla.org mozilla_prefix=opt/mozilla.org
[ -n "$mozver" ] || mozver="$ver"
# set default homepage and distribution # set default homepage and distribution
mozilla_branding() { mozilla_branding() {
@ -55,7 +55,7 @@ ac_add_options --libdir=$root$libdir
ac_add_options --sysconfdir=$root/etc/$pkg ac_add_options --sysconfdir=$root/etc/$pkg
ac_add_options --localstatedir=$root/var ac_add_options --localstatedir=$root/var
ac_add_options --enable-default-mozilla-five-home ac_add_options --enable-default-mozilla-five-home
ac_add_options --with-default-mozilla-five-home=$root$libdir/$pkg-$ver ac_add_options --with-default-mozilla-five-home=$root$libdir/$pkg-$mozver
ac_add_options --host=$arch_target ac_add_options --host=$arch_target
ac_add_options --disable-debug ac_add_options --disable-debug
ac_add_options --enable-optimize ac_add_options --enable-optimize
@ -88,7 +88,7 @@ EOF
[ $arch = powerpc64 ] && var_append GCC_WRAPPER_APPEND ' ' -mminimal-toc [ $arch = powerpc64 ] && var_append GCC_WRAPPER_APPEND ' ' -mminimal-toc
# exports # exports
export MOZILLA_FIVE_HOME=$libdir/$pkg-$ver export MOZILLA_FIVE_HOME=$libdir/$pkg-$mozver
export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1 export MOZILLA_OFFICIAL=1 BUILD_OFFICIAL=1
} }

Loading…
Cancel
Save