openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_mozapps_installer_packager_mk
2011-05-02 15:08:28 +00:00

14 lines
674 B
Plaintext

$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.2 2011/05/02 15:08:28 jasper Exp $
install headers/idl/sdk libs only if xulrunner
--- toolkit/mozapps/installer/packager.mk.orig Thu Apr 14 07:28:48 2011
+++ toolkit/mozapps/installer/packager.mk Mon May 2 17:07:41 2011
@@ -629,7 +629,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 -)