openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_mozapps_installer_packager_mk
nigel f488c4c548 Update firefox to 9.0.1
Change from mpi@ for macppc

Ok landry@ stsp@ mpi@
2012-01-11 02:42:48 +00:00

14 lines
673 B
Plaintext

$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.7 2012/01/11 02:42:48 nigel Exp $
install headers/idl/sdk libs only if xulrunner
--- toolkit/mozapps/installer/packager.mk.orig Wed Dec 7 06:28:06 2011
+++ toolkit/mozapps/installer/packager.mk Sat Dec 10 16:53:04 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 -)