From: Sebastian Harl Date: Tue, 20 Nov 2012 12:47:22 +0000 (+0100) Subject: rules: Fix installation paths used for Perl bindings. X-Git-Tag: collectd-5.2.0-1~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aebf48dfb85653d49e7a58397eeeb2a708aab68f;p=pkg-collectd.git 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. --- 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