X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=patches%2Fpatch-at;fp=patches%2Fpatch-at;h=1570a19c4e3fe61e603611beeb239ca1bcc9b97a;hb=57db98132202e38770d080f5f693d1e78c1386da;hp=0000000000000000000000000000000000000000;hpb=ade5f2e5d57c20def77aa4d2416ac3efca2f7bb1;p=pkgsrc-firefox3.git 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