--- a/mozilla-pkgconfig.patch Sun Nov 30 10:11:23 2014 +0100
+++ b/mozilla-pkgconfig.patch Wed Dec 03 14:14:13 2014 +0100
@@ -4,7 +4,7 @@
diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in
--- a/xulrunner/installer/Makefile.in
+++ b/xulrunner/installer/Makefile.in
-@@ -31,16 +31,19 @@ include $(topsrcdir)/config/rules.mk
+@@ -32,16 +32,19 @@ include $(topsrcdir)/config/rules.mk
INSTALL_SDK = 1
@@ -14,7 +14,7 @@
# 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-18
++apilibdir = $(dir $(installdir))xulrunner-31
+
pkg_config_files = \
libxul.pc \
@@ -24,7 +24,7 @@
$(NULL)
ifdef MOZ_NATIVE_NSPR
-@@ -68,16 +71,17 @@ pkg_config_files += mozilla-nss.pc
+@@ -69,16 +72,17 @@ pkg_config_files += mozilla-nss.pc
endif
%.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS)