openbsd-ports/www/seamonkey/patches/patch-mozilla_js_src_configure_in
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

40 lines
1.2 KiB
Plaintext

$OpenBSD: patch-mozilla_js_src_configure_in,v 1.1 2010/04/03 09:30:14 landry Exp $
--- mozilla/js/src/configure.in.orig Wed Mar 17 19:32:40 2010
+++ mozilla/js/src/configure.in Tue Mar 30 22:03:10 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)