45570b6074
Ok mpi@
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
$OpenBSD: patch-mozilla_js_src_configure_in,v 1.5 2011/12/08 00:39:18 nigel Exp $
|
|
--- mozilla/js/src/configure.in.orig Mon Nov 7 21:07:57 2011
|
|
+++ mozilla/js/src/configure.in Mon Nov 21 23:10:24 2011
|
|
@@ -1256,7 +1256,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)'
|
|
|
|
@@ -2440,7 +2440,7 @@ ia64*-hpux*)
|
|
;;
|
|
|
|
*-openbsd*)
|
|
- DLL_SUFFIX=".so.1.0"
|
|
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
|
DSO_CFLAGS=''
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
DSO_LDOPTS='-shared -fPIC'
|
|
@@ -2763,7 +2763,7 @@ arm*-*)
|
|
AC_DEFINE(JS_CPU_ARM)
|
|
AC_DEFINE(JS_NUNBOX32)
|
|
;;
|
|
-sparc*-*)
|
|
+sparc-*)
|
|
ENABLE_TRACEJIT=1
|
|
NANOJIT_ARCH=Sparc
|
|
ENABLE_METHODJIT=1
|
|
@@ -2850,7 +2850,7 @@ case "$target" in
|
|
*-solaris*)
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
;;
|
|
-*-freebsd*|*-kfreebsd*)
|
|
+*-freebsd*|*-kfreebsd*|*-openbsd*)
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
;;
|
|
*-openbsd*)
|