openbsd-ports/mail/mozilla-thunderbird/patches/patch-mozilla_js_src_configure_in
landry b02b46dbd5 Update to thunderbird 5.0, based on Gecko 5. See for details :
http://www.mozilla.org/en-US/thunderbird/5.0/releasenotes/
- sync ipc patches from firefox
- install under lib/thunderbird-5.0 instead of using the handmade
  install target
- remove a bunch of pointless patches
Been running with it since a while, tested by a few on ports@, thanks!
2011-07-24 07:10:12 +00:00

40 lines
1.1 KiB
Plaintext

$OpenBSD: patch-mozilla_js_src_configure_in,v 1.3 2011/07/24 07:10:12 landry Exp $
--- mozilla/js/src/configure.in.orig Sat May 28 00:43:50 2011
+++ mozilla/js/src/configure.in Mon May 30 14:28:49 2011
@@ -1210,7 +1210,7 @@ WIN_TOP_SRC=
MOZ_USER_DIR=".mozilla"
MOZ_JS_LIBS='-L$(libdir) -lmozjs'
-MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(prefix)/lib'
+MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(PREFIX)/lib -L$(LIBXUL_DIST)/bin'
MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
@@ -2517,7 +2517,7 @@ ia64*-hpux*)
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ DLL_SUFFIX=".so.${SO_VERSION}"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -2869,7 +2869,7 @@ arm*-*)
AC_DEFINE(JS_CPU_ARM)
AC_DEFINE(JS_NUNBOX32)
;;
-sparc*-*)
+sparc-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=Sparc
AC_DEFINE(JS_CPU_SPARC)
@@ -2951,7 +2951,7 @@ case "$target" in
*-solaris*)
AC_DEFINE(AVMPLUS_UNIX)
;;
-*-freebsd*|*-kfreebsd*)
+*-freebsd*|*-kfreebsd*|*-openbsd*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-gnu*)