40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
$OpenBSD: patch-mozilla_js_src_configure_in,v 1.4 2011/10/03 21:07:39 landry Exp $
|
|
--- mozilla/js/src/configure.in.orig Sat Sep 17 03:33:23 2011
|
|
+++ mozilla/js/src/configure.in Mon Sep 19 10:35:57 2011
|
|
@@ -1208,7 +1208,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)'
|
|
|
|
@@ -2424,7 +2424,7 @@ ia64*-hpux*)
|
|
;;
|
|
|
|
*-openbsd*)
|
|
- DLL_SUFFIX=".so.1.0"
|
|
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
|
DSO_CFLAGS=''
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
DSO_LDOPTS='-shared -fPIC'
|
|
@@ -2759,7 +2759,7 @@ arm*-*)
|
|
AC_DEFINE(JS_CPU_ARM)
|
|
AC_DEFINE(JS_NUNBOX32)
|
|
;;
|
|
-sparc*-*)
|
|
+sparc-*)
|
|
ENABLE_TRACEJIT=1
|
|
NANOJIT_ARCH=Sparc
|
|
ENABLE_METHODJIT=1
|
|
@@ -2846,7 +2846,7 @@ case "$target" in
|
|
*-solaris*)
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
;;
|
|
-*-freebsd*|*-kfreebsd*)
|
|
+*-freebsd*|*-kfreebsd*|*-openbsd*)
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
;;
|
|
*-openbsd*)
|