openbsd-ports/www/fennec/patches/patch-toolkit_mozapps_installer_packager_mk
landry 540844ce5f Update to fennec 10.0.4. There likely wont be any releases from newer
branches, since desktop fennec is abandoned in favor of fennec with
native ui on android (hence, not targeted at other oses...)
2012-04-30 15:40:31 +00:00

14 lines
674 B
Plaintext

$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.8 2012/04/30 15:40:31 landry Exp $
install headers/idl/sdk libs only if xulrunner
--- toolkit/mozapps/installer/packager.mk.orig Fri Apr 20 23:52:59 2012
+++ toolkit/mozapps/installer/packager.mk Thu Apr 26 20:29:27 2012
@@ -823,7 +823,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 -)