summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-ao
blob: f4be2b30bb32977b18c68265e0695e6eb923617d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ao,v 1.11 2015/07/09 15:17:34 ryoon Exp $

--- mozilla/toolkit/mozapps/installer/packager.mk.orig	2015-06-08 17:49:32.000000000 +0000
+++ mozilla/toolkit/mozapps/installer/packager.mk
@@ -122,8 +122,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 -)