From 57db98132202e38770d080f5f693d1e78c1386da Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 5 Feb 2009 08:01:05 +0900 Subject: [PATCH] Added a missing patch --- Makefile | 3 +++ distinfo | 1 + patches/patch-at | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 patches/patch-at diff --git a/Makefile b/Makefile index 806e58c..6fce328 100644 --- a/Makefile +++ b/Makefile @@ -127,6 +127,9 @@ CONFIGURE_ARGS+= --disable-dbus # Avoids needing curl on Linux CONFIGURE_ARGS+= --disable-crashreporter +# FIXME: remove this after +CONFIGURE_ARGS+= --enable-debug + PYTHON_FOR_BUILD_ONLY= yes .include "../../lang/python/application.mk" CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} diff --git a/distinfo b/distinfo index 2fc5622..b6985a0 100644 --- a/distinfo +++ b/distinfo @@ -22,6 +22,7 @@ SHA1 (patch-ap) = 552694ac2d6ca713aec98ec394f1215c048c2392 SHA1 (patch-aq) = 91a9a3f39286a9fedfd4122084f2fb9f427040fb SHA1 (patch-ar) = fab004236f5f0224386bb7ca7e64210a1b2b3cc5 SHA1 (patch-as) = c0c53394379166419c2aaed8410715c6c98f8a14 +SHA1 (patch-at) = 486a94ff0fd7041621ec6306b9d5c66cf721ac3c SHA1 (patch-ax) = cbfe7a6392d5d2fefff123679ba1c056b1cc0aa9 SHA1 (patch-ba) = 3bd713cf2edcc61f489cea8269ca60e27c26f1d9 SHA1 (patch-bb) = c7286542a9fe97ac9819a00c345272efb7e90e9c diff --git a/patches/patch-at b/patches/patch-at new file mode 100644 index 0000000..1570a19 --- /dev/null +++ b/patches/patch-at @@ -0,0 +1,19 @@ +$NetBSD$ + +--- gfx/src/thebes/Makefile.in.orig 2009-02-05 07:58:57.000000000 +0900 ++++ gfx/src/thebes/Makefile.in +@@ -139,6 +139,14 @@ EXTRA_DSO_LDOPTS += \ + $(TK_LIBS) \ + $(NULL) + ++ifeq ($(OS_ARCH),Darwin) ++_libs_to_fix = \ ++ -lxul \ ++ -lmozjs \ ++ $(filter -l%, $(NSS_LIBS)) ++EXTRA_DSO_LDOPTS += $(foreach library, $(patsubst -l%, $(LIB_PREFIX)%$(DLL_SUFFIX), $(_libs_to_fix)), -dylib_file $(libdir)/$(MOZILLA_PKG_NAME)/$(library):$(DIST)/bin/$(library)) ++endif ++ + ifdef MOZ_X11 + EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) + endif -- 2.40.0