2011-03-30 17:39:14 -04:00
|
|
|
$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"
|
2010-04-26 15:55:58 -04:00
|
|
|
|
|
|
|
MOZ_JS_LIBS='-L$(libdir) -lmozjs'
|
2011-03-30 17:39:14 -04:00
|
|
|
-MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(prefix)/lib'
|
2010-04-26 15:55:58 -04:00
|
|
|
+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)'
|
2011-03-30 17:39:14 -04:00
|
|
|
|
|
|
|
@@ -2582,7 +2582,7 @@ ia64*-hpux*)
|
2010-04-26 15:55:58 -04:00
|
|
|
;;
|
|
|
|
|
|
|
|
*-openbsd*)
|
|
|
|
- DLL_SUFFIX=".so.1.0"
|
|
|
|
+ DLL_SUFFIX=".so.${SO_VERSION}"
|
|
|
|
DSO_CFLAGS=''
|
|
|
|
DSO_PIC_CFLAGS='-fPIC'
|
|
|
|
DSO_LDOPTS='-shared -fPIC'
|
2011-03-30 17:39:14 -04:00
|
|
|
@@ -3039,6 +3039,9 @@ case "$target" in
|
2010-04-26 15:55:58 -04:00
|
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
|
|
;;
|
2011-03-30 17:39:14 -04:00
|
|
|
*-freebsd*|*-kfreebsd*)
|
|
|
|
+ AC_DEFINE(AVMPLUS_UNIX)
|
|
|
|
+ ;;
|
|
|
|
+*-openbsd*)
|
2010-04-26 15:55:58 -04:00
|
|
|
AC_DEFINE(AVMPLUS_UNIX)
|
|
|
|
;;
|
2011-03-30 17:39:14 -04:00
|
|
|
*-gnu*)
|