Files
pkgsrc-ng/www/firefox/patches/patch-ao
2016-11-18 22:39:22 +01:00

16 lines
605 B
Plaintext

$NetBSD: patch-ao,v 1.15 2016/06/16 12:08:21 ryoon Exp $
* For devel/xulrunner*
--- toolkit/mozapps/installer/packager.mk.orig 2016-01-23 23:23:49.000000000 +0000
+++ toolkit/mozapps/installer/packager.mk
@@ -132,7 +132,7 @@ endif
$(NSINSTALL) -D $(DESTDIR)$(bindir)
$(RM) -f $(DESTDIR)$(bindir)/$(MOZ_APP_NAME)
ln -s $(installdir)/$(MOZ_APP_NAME) $(DESTDIR)$(bindir)
-ifdef INSTALL_SDK # Here comes the hard part
+ifeq ($(MOZ_APP_NAME),xulrunner)
$(NSINSTALL) -D $(DESTDIR)$(includedir)
(cd $(DIST)/include && $(TAR) $(TAR_CREATE_FLAGS) - .) | \
(cd $(DESTDIR)$(includedir) && tar -xf -)