$OpenBSD: patch-mozilla_js_src_configure_in,v 1.1 2010/04/03 09:26:46 landry Exp $ --- mozilla/js/src/configure.in.orig Wed Mar 17 18:05:53 2010 +++ mozilla/js/src/configure.in Tue Mar 30 21:28:29 2010 @@ -904,7 +904,7 @@ HOST_AR='$(AR)' HOST_AR_FLAGS='$(AR_FLAGS)' 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)' MOZ_XPCOM_OBSOLETE_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom_compat' @@ -2134,7 +2134,7 @@ case "$target" in ;; *-openbsd*) - DLL_SUFFIX=".so.1.0" + DLL_SUFFIX=".so.${SO_VERSION}" DSO_CFLAGS='' DSO_PIC_CFLAGS='-fPIC' DSO_LDOPTS='-shared -fPIC' @@ -2466,7 +2466,7 @@ arm*-*) ENABLE_JIT=1 NANOJIT_ARCH=ARM ;; -sparc*-*) +sparc-*) ENABLE_JIT=1 NANOJIT_ARCH=Sparc ;; @@ -2503,7 +2503,7 @@ darwin*) solaris*) AC_DEFINE(AVMPLUS_UNIX) ;; -freebsd*|kfreebsd*) +freebsd*|kfreebsd*|openbsd*) AC_DEFINE(AVMPLUS_UNIX) ;; *cygwin*|*mingw*|*mks*|*msvc*|*wince)