diff options
author | tron <tron@pkgsrc.org> | 2006-08-08 21:08:14 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-08-08 21:08:14 +0000 |
commit | 562099cff4ce49a49435ed2508b5cba14ccdde20 (patch) | |
tree | 9653a10fea90d9c0a19351a3069a52587b3d2388 /lang/spidermonkey/patches | |
parent | 4a7a5c408c84d00fd84da6e8fec3f15109261654 (diff) | |
download | pkgsrc-562099cff4ce49a49435ed2508b5cba14ccdde20.tar.gz |
Fix broken shared library build under Mac OS X. "avidemux2" (from the
"avidemux" package) now works with the "js" library provided by this
package. Bump package revision of this package.
Vital hint provided by Amitai Schlair in private e-mail.
Diffstat (limited to 'lang/spidermonkey/patches')
-rw-r--r-- | lang/spidermonkey/patches/patch-ad | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/spidermonkey/patches/patch-ad b/lang/spidermonkey/patches/patch-ad new file mode 100644 index 00000000000..fd6e9c019c0 --- /dev/null +++ b/lang/spidermonkey/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1 2006/08/08 21:08:14 tron Exp $ + +--- rules.mk.orig 2003-11-15 00:11:04.000000000 +0000 ++++ rules.mk 2006-08-08 21:45:40.000000000 +0100 +@@ -115,9 +115,13 @@ + $(RANLIB) $@ + + $(SHARED_LIBRARY): $(LIB_OBJS) ++ifeq ($(OS_ARCH),Darwin) ++ $(MKSHLIB) -o $@ $(LIB_OBJS) $(LDFLAGS) $(OTHER_LIBS) -install_name $(PREFIX)/lib/$(notdir $@) ++else + $(MKSHLIB) -o $@ $(LIB_OBJS) $(LDFLAGS) $(OTHER_LIBS) + endif + endif ++endif + + # Java stuff + $(CLASSDIR)/$(OBJDIR)/$(JARPATH)/%.class: %.java |