From aebf48dfb85653d49e7a58397eeeb2a708aab68f Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 20 Nov 2012 13:47:22 +0100 Subject: [PATCH] rules: Fix installation paths used for Perl bindings. Upstream now passes INSTALL_BASE rather than PREFIX to Makefile.PL which resulted in the bindings being installed to different locations than before. --- debian/changelog | 4 ++++ debian/rules | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index 10c4a5a..446f53a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,10 @@ collectd (5.2.0-1) UNRELEASED; urgency=low * debian/patches: - Removed migrate-4-5-df.dpatch; merged upstream. - Removed rtnl_dump_filter.dpatch; merged upstream. + * debian/rules: + - Fix installation paths used for Perl bindings. Upstream now passes + INSTALL_BASE rather than PREFIX to Makefile.PL which resulted in the + bindings being installed to different locations than before. -- Sebastian Harl Tue, 20 Nov 2012 11:35:22 +0100 diff --git a/debian/rules b/debian/rules index 40cc84b..af70f20 100755 --- a/debian/rules +++ b/debian/rules @@ -220,6 +220,14 @@ install-arch: build rm -f debian/tmp/usr/lib/libcollectdclient.la rm -f debian/tmp/etc/collectd.conf + # this was broken by passing INSTALL_BASE rather than PREFIX to + # Makefile.PL + install -d -m 755 debian/tmp/usr/share/man/man3 + mv debian/tmp/usr/man/man3/Collectd::Unixsock.3pm \ + debian/tmp/usr/share/man/man3/ + install -d -m 755 debian/tmp/usr/share/ + mv debian/tmp/usr/lib/perl5 debian/tmp/usr/share/ + dh_install -a --sourcedir=$(CURDIR)/debian/tmp --fail-missing perl ./debian/bin/gen_plugin_deps.pl -- 2.30.2