openbsd-ports/productivity/sunbird/patches/patch-mozilla_configure_in
landry e9b4c7a040 Readd patches/files from mail/mozilla-thunderbird, atm sunbird can't be
built from newer thunderbird tarballs (as it's officially
unmaintained/dead upstream) and this gets in the way of thunderbird 5
update. Hopefully i'll figure out how to fix that... bump REVISION to be
on the safe side.
2011-07-22 05:25:27 +00:00

35 lines
1.4 KiB
Plaintext

$OpenBSD: patch-mozilla_configure_in,v 1.3 2011/07/22 05:25:27 landry Exp $
--- mozilla/configure.in.orig Wed Jun 23 19:47:29 2010
+++ mozilla/configure.in Wed Jul 7 08:43:04 2010
@@ -1059,7 +1059,7 @@ MOZ_PNG_LIBS='$(call EXPAND_LIBNAME_PATH,mozpng,$(DEPT
MOZ_JS_LIBS='-L$(LIBXUL_DIST)/bin -lmozjs'
DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/bin -lxpcom -lxpcom_core'
-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'
XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/bin -lxpcom'
LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) -lxul'
XPCOM_GLUE_LDOPTS='$(LIBXUL_DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) $(XPCOM_FROZEN_LDOPTS)'
@@ -2403,7 +2403,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'
@@ -4132,9 +4132,9 @@ AC_CACHE_CHECK(for __thread keyword for TLS variables,
ac_cv_thread_keyword=yes,
ac_cv_thread_keyword=no)])
LDFLAGS=$_SAVE_LDFLAGS
-if test "$ac_cv_thread_keyword" = yes; then
- AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
-fi
+dnl if test "$ac_cv_thread_keyword" = yes; then
+dnl AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
+dnl fi
dnl End of C++ language/feature checks
AC_LANG_C