openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_mozapps_installer_packager_mk
2011-10-03 21:06:09 +00:00

14 lines
674 B
Plaintext

$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.5 2011/10/03 21:06:09 landry Exp $
install headers/idl/sdk libs only if xulrunner
--- toolkit/mozapps/installer/packager.mk.orig Thu Aug 25 02:37:25 2011
+++ toolkit/mozapps/installer/packager.mk Mon Aug 29 14:54:58 2011
@@ -730,7 +730,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 -)