--- a/components/pkg-config/Makefile Wed Oct 28 08:34:09 2015 -0700
+++ b/components/pkg-config/Makefile Wed Oct 28 12:16:02 2015 -0700
@@ -53,6 +53,14 @@
COMPONENT_TEST_TRANSFORMS += \
'-e "/^+ sed -e /d" '
+ifeq ($(OS_VERSION),5.11)
+OLD_DESKTOP_BUILD= 0.175.2.0.0.21.0
+else
+OLD_DESKTOP_BUILD= 5.12.0.0.0.25.0
+endif
+
+PKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD)
+
# common targets
configure: $(CONFIGURE_64)
--- a/components/pkg-config/pkg-config.p5m Wed Oct 28 08:34:09 2015 -0700
+++ b/components/pkg-config/pkg-config.p5m Wed Oct 28 12:16:02 2015 -0700
@@ -47,4 +47,5 @@
# pkg-config was previously in the gettext package of the 'desktop'
# consolidation. This optional dependency is here to facilitate the safe
# transfer of the package to the 'userland' consolidation.
-depend type=optional fmri=pkg:/developer/gnome/[email protected]
+depend type=optional \
+ fmri=pkg:/developer/gnome/[email protected]$(OLD_DESKTOP_BUILD)