summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk b/mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk
new file mode 100644
index 00000000000..802cfa1662e
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_toolkit_mozapps_installer_packager.mk
@@ -0,0 +1,15 @@
+$NetBSD: patch-mozilla_toolkit_mozapps_installer_packager.mk,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/toolkit/mozapps/installer/packager.mk.orig 2017-03-05 20:58:33.000000000 +0000
++++ mozilla/toolkit/mozapps/installer/packager.mk
+@@ -132,8 +132,8 @@ endif
+ (cd $(DESTDIR)$(installdir) && tar -xf -)
+ $(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
++ ln -s $(installdir)/$(MOZ_APP_NAME) $(DESTDIR)$(bindir)/${MOZILLA_PKG_NAME}
++ifeq ($(MOZ_APP_NAME),xulrunner)
+ $(NSINSTALL) -D $(DESTDIR)$(includedir)
+ (cd $(DIST)/include && $(TAR) $(TAR_CREATE_FLAGS) - .) | \
+ (cd $(DESTDIR)$(includedir) && tar -xf -)