summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66da00b)
raw | patch | inline | side by side (parent: 66da00b)
author | Sebastian Harl <sh@teamix.net> | |
Tue, 20 Nov 2012 12:47:22 +0000 (13:47 +0100) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Tue, 20 Nov 2012 12:47:22 +0000 (13:47 +0100) |
Upstream now passes INSTALL_BASE rather than PREFIX to Makefile.PL which
resulted in the bindings being installed to different locations than before.
resulted in the bindings being installed to different locations than before.
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 10c4a5a0444236b2f2c05b0906032b9176ebc496..446f53aaeac6cc839279fa8cc72c45b93770250e 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* 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 <tokkee@debian.org> Tue, 20 Nov 2012 11:35:22 +0100
diff --git a/debian/rules b/debian/rules
index 40cc84b3056ea3a840f5a6d2f1a22fdc511e3b8c..af70f20dc99c346a4e4cc896643194aa948b98b2 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
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