openbsd-ports/www/mozilla-firefox/patches/patch-js_src_configure_in

32 lines
929 B
Plaintext
Raw Normal View History

$OpenBSD: patch-js_src_configure_in,v 1.2 2011/03/30 21:39:14 landry Exp $
--- js/src/configure.in.orig Wed Feb 23 06:53:34 2011
+++ js/src/configure.in Sat Feb 26 09:25:34 2011
@@ -1211,7 +1211,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)'
@@ -2582,7 +2582,7 @@ ia64*-hpux*)
;;
*-openbsd*)
- DLL_SUFFIX=".so.1.0"
+ DLL_SUFFIX=".so.${SO_VERSION}"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
@@ -3039,6 +3039,9 @@ case "$target" in
AC_DEFINE(AVMPLUS_UNIX)
;;
*-freebsd*|*-kfreebsd*)
+ AC_DEFINE(AVMPLUS_UNIX)
+ ;;
+*-openbsd*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-gnu*)