$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.6 2012/01/11 02:17:13 nigel Exp $ install headers/idl/sdk libs only if xulrunner --- toolkit/mozapps/installer/packager.mk.orig Fri Dec 16 21:59:28 2011 +++ toolkit/mozapps/installer/packager.mk Thu Dec 22 00:39:30 2011 @@ -785,7 +785,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 -)