openbsd-ports/www/fennec/patches/patch-js_src_configure_in
nigel 88bc52d7de Update fennec to 9.0
Change for macppc from mpi@

Ok landry@ stsp@ mpi@
2012-01-11 02:17:13 +00:00

47 lines
1.2 KiB
Plaintext

$OpenBSD: patch-js_src_configure_in,v 1.6 2012/01/11 02:17:13 nigel Exp $
https://bugzilla.mozilla.org/show_bug.cgi?id=648721
https://bugzilla.mozilla.org/show_bug.cgi?id=650742
https://bugzilla.mozilla.org/show_bug.cgi?id=589754
--- js/src/configure.in.orig Fri Dec 16 21:59:12 2011
+++ js/src/configure.in Thu Dec 22 00:39:29 2011
@@ -2231,7 +2231,8 @@ ia64*-hpux*)
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ DLL_SUFFIX='.so.$(if $(SO_VERSION),$(SO_VERSION),1.0)'
+ MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(prefix)/lib -Wl,-rpath-link,$(if $(X11BASE),$(X11BASE),/usr/X11R6)/lib'
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -2511,7 +2512,7 @@ arm*-*)
AC_DEFINE(JS_CPU_ARM)
AC_DEFINE(JS_NUNBOX32)
;;
-sparc*-*)
+sparc-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=Sparc
ENABLE_METHODJIT=1
@@ -2585,6 +2586,10 @@ arm*-*)
sparc-*)
AC_DEFINE(AVMPLUS_SPARC)
;;
+sparc64-*)
+ AC_DEFINE(AVMPLUS_SPARC)
+ AC_DEFINE(AVMPLUS_64BIT)
+ ;;
esac
case "$target" in
@@ -2599,6 +2604,9 @@ case "$target" in
AC_DEFINE(AVMPLUS_UNIX)
;;
*-freebsd*|*-kfreebsd*)
+ AC_DEFINE(AVMPLUS_UNIX)
+ ;;
+*-openbsd*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-openbsd*)