summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-ao')
-rw-r--r--www/firefox52/patches/patch-ao17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-ao b/www/firefox52/patches/patch-ao
new file mode 100644
index 00000000000..03b4458865a
--- /dev/null
+++ b/www/firefox52/patches/patch-ao
@@ -0,0 +1,17 @@
+$NetBSD: patch-ao,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* For devel/xulrunner*
+
+--- toolkit/mozapps/installer/packager.mk.orig 2017-04-11 02:13:24.000000000 +0000
++++ toolkit/mozapps/installer/packager.mk
+@@ -139,8 +139,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 -)