2012-06-11 11:29:56 -04:00
|
|
|
$OpenBSD: patch-toolkit_mozapps_installer_packager_mk,v 1.11 2012/06/11 15:29:56 landry Exp $
|
2011-03-30 17:39:14 -04:00
|
|
|
install headers/idl/sdk libs only if xulrunner
|
2012-06-11 11:29:56 -04:00
|
|
|
--- toolkit/mozapps/installer/packager.mk.orig Fri Jun 1 14:04:20 2012
|
|
|
|
+++ toolkit/mozapps/installer/packager.mk Tue Jun 5 07:55:51 2012
|
|
|
|
@@ -886,7 +886,7 @@ endif
|
2011-03-30 17:39:14 -04:00
|
|
|
$(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 -)
|