Bug#430665: libnet-snpp-perl: install-stamp rule invokes make install with bogus arguments

Richard Guenther rguenth at tat.physik.uni-tuebingen.de
Tue Jun 26 11:53:26 UTC 2007


Package: libnet-snpp-perl
Version: 1.17-2
Severity: normal

(libnet-snpp-perl just chosen as example, this bug report applies to
all perl modules)

debian/rules has

install: install-stamp
install-stamp: build
        dh_testdir
        dh_installdirs
        $(MAKE) install PREFIX=$(b)/usr

which is wrong for the upstream perl distribution which creates

DESTDIR =
PREFIX = $(VENDORPREFIX)
PERLPREFIX = /usr
SITEPREFIX = /usr
VENDORPREFIX = /usr
INSTALLPRIVLIB = /usr/lib/perl5/5.8.8
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
...

so it seems that

	$(MAKE) install DESTDIR=$(b) PREFIX=/usr

would be more portable.  [I actually have a custom built perl 5.8.8
installed that I used to build libnet-snpp-perl]

Would it be possible to change the rules file to this scheme?

Thanks,
Richard.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.33-tatsmp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libnet-snpp-perl depends on:
ii  perl                       5.8.4-8sarge5 Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl] 5.8.4-8sarge5 Core Perl modules




More information about the pkg-perl-maintainers mailing list