mozilla-pkgconfig.patch
changeset 340 aabcc7895695
parent 259 31beb466ca79
child 356 30a00f382aed
--- a/mozilla-pkgconfig.patch	Wed Oct 05 13:40:30 2011 +0200
+++ b/mozilla-pkgconfig.patch	Wed Oct 05 16:01:57 2011 +0200
@@ -4,27 +4,27 @@
 diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
 --- a/xulrunner/installer/Makefile.in
 +++ b/xulrunner/installer/Makefile.in
-@@ -62,16 +62,19 @@ PKG_DMG_SOURCE = $(STAGEPATH)xulrunner-p
- endif
- 
- include $(topsrcdir)/config/rules.mk
+@@ -66,16 +66,19 @@ include $(topsrcdir)/config/rules.mk
  
  INSTALL_SDK = 1
+ GENERATE_CACHE = 1
  
  include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
  
-+# the apilibdir always ends with 1.9 as every patch update will provide a link
-+apilibdir = $(dir $(installdir))xulrunner-2.2
-+
  # Add pkg-config files to the install:: target
  
++# the apilibdir always ends with 1.9 as every patch update will provide a link
++apilibdir = $(dir $(installdir))xulrunner-8
++
  pkg_config_files = \
  	libxul.pc \
  	libxul-embedding.pc \
  	mozilla-js.pc \
  	mozilla-plugin.pc \
  	mozilla-gtkmozembed.pc \
-@@ -103,16 +106,17 @@ pkg_config_files += mozilla-nss.pc
+ 	mozilla-gtkmozembed-embedding.pc \
+ 	$(NULL)
+@@ -105,16 +108,17 @@ pkg_config_files += mozilla-nss.pc
  endif
  
  %.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)