[Build-common-hackers] Bug#534895: cdbs: perl MakeMaker 6.52 versus "make install PREFIX="
Kevin Ryde
user42 at zip.com.au
Sun Jun 28 00:29:35 UTC 2009
Package: cdbs
Version: 0.4.56
Severity: normal
File: /usr/share/cdbs/1/class/perlmodule-vars.mk
The latest ExtUtils::MakeMaker 6.52 doesn't obey a PREFIX like
make install PREFIX=/some/dir/usr
It seems to have locked down its paths at the ./Makefile.PL stage,
rather than expanding $(PREFIX) the way cdbs supplies from
DEB_MAKE_INSTALL_TARGET.
I'm not certain who's at fault. MakeMaker is being unhelpful, but maybe
cdbs should use DESTDIR now. I suppose PREFIX was from when MakeMaker
didn't support DESTDIR, but versions maybe since perl 5.8 have it.
Using
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(if $(DEB_MAKEMAKER_PACKAGE),$(CURDIR)/debian/$(DEB_MAKEMAKER_PACKAGE),$(DEB_DESTDIR))
seems to help.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.30-1-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages cdbs depends on:
ii debhelper 7.2.17 helper programs for debian/rules
Versions of packages cdbs recommends:
ii autotools-dev 20090427.1 Update infrastructure for config.{
Versions of packages cdbs suggests:
ii devscripts 2.10.52 scripts to make the life of a Debi
ii doc-base 0.9.3 utilities to manage online documen
-- no debconf information
More information about the Build-common-hackers
mailing list