freebsd-ports/mail/thunderbird/files/patch-toolkit_mozapps_installer_packager_mk
Jan Beich 79fd5d2214 mail/thunderbird: update to 45.0 (rc1)
Changes:	https://www.mozilla.org/thunderbird/45.0/releasenotes/
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
MFH:		2016Q2
2016-04-12 19:18:55 +00:00

13 lines
691 B
Text

$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.11 2012/06/11 15:29:56 landry Exp $
install headers/idl/sdk libs only if xulrunner
--- mozilla/toolkit/mozapps/installer/packager.mk.orig Fri Jun 1 14:04:20 2012
+++ mozilla/toolkit/mozapps/installer/packager.mk Tue Jun 5 07:55:51 2012
@@ -127,7 +127,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 -)