dir).
* Use dh_installinit's --noscript instead of --no-start for the upstart
jobs without sysvinit scripts (thanks lintian).
+ * Put systemd.pc into arch specific pkgconfig dir, as it contains the arch
+ specific libdir value.
-- Martin Pitt <mpitt@debian.org> Wed, 17 Dec 2014 09:22:17 +0100
--- /dev/null
+From: Martin Pitt <martin.pitt@ubuntu.com>
+Date: Sun, 28 Dec 2014 12:14:25 +0100
+Subject: build-sys: Fix install location of systemd.pc
+
+systemd.pc contains "libdir" which can be architecture specific. Thus it needs
+to be installed into libdir/pkgconfig/ instead of datadir/pkgconfig.
+
+As nothing else is using pkgconfigdata any more, remove it entirely.
+
+Note that udev.pc does not contain architecture specific values and thus can be
+kept in /usr/share/pkgconfig/.
+---
+ Makefile.am | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 3138fc3..6bc4c58 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -74,7 +74,6 @@ dbussessionservicedir=@dbussessionservicedir@
+ dbussystemservicedir=@dbussystemservicedir@
+ pamlibdir=@pamlibdir@
+ pamconfdir=@pamconfdir@
+-pkgconfigdatadir=$(datadir)/pkgconfig
+ pkgconfiglibdir=$(libdir)/pkgconfig
+ polkitpolicydir=$(datadir)/polkit-1/actions
+ bashcompletiondir=@bashcompletiondir@
+@@ -1301,7 +1300,7 @@ dist_dbussystemservice_DATA += \
+ polkitpolicy_in_in_files += \
+ src/core/org.freedesktop.systemd1.policy.in.in
+
+-pkgconfigdata_DATA = \
++pkgconfiglib_DATA += \
+ src/core/systemd.pc
+
+ nodist_rpmmacros_DATA = \
+@@ -5985,7 +5984,6 @@ EXTRA_DIST += \
+ CLEANFILES += \
+ $(nodist_systemunit_DATA) \
+ $(nodist_userunit_DATA) \
+- $(pkgconfigdata_DATA) \
+ $(pkgconfiglib_DATA) \
+ $(nodist_polkitpolicy_DATA)
+