pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38902



The following reply was made to PR pkg/38902; it has been noted by GNATS.

From: Taylor R Campbell <campbell%mumble.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/38902
Date: Mon, 9 Jun 2008 15:24:54 -0400

 It appears that this is caused simply by the makefile's `do-install'
 target, which omits any reference to DESTDIR:
 
 do-install:
        ${INSTALL_SCRIPT} ${FILESDIR}/pkg_comp.sh ${PREFIX}/sbin/pkg_comp
        ${INSTALL_MAN} ${FILESDIR}/pkg_comp.8 
${PREFIX}/${PKGMANDIR}/man8/pkg_comp=
 8
 
 should be
 
 do-install:
        ${INSTALL_SCRIPT} ${FILESDIR}/pkg_comp.sh 
${DESTDIR}${PREFIX}/sbin/pkg_comp
        ${INSTALL_MAN} ${FILESDIR}/pkg_comp.8 
${DESTDIR}${PREFIX}/${PKGMANDIR}/man=
 8/pkg_comp.8
 
 A cursory grep[1] suggests that many other packages in the `pkgtools'
 directory exhibit the same problem: pkg_notify autoswc binpatch
 bootstrap-extras cdpack dfdisk lintpkgsrc pkg_alternatives pkg_chk
 pkg_filecheck pkg_select pkgclean pkgdep pkgdepgraph pkgfind pkgse
 port2pkg rc.subr revbump rpm2pkg url2pkg.  There are many, many more
 in the rest of pkgsrc.  Scanning the `pkg'-category problem reports, I
 guess these are being reported incrementally.
 
 [1] find pkgtools -name Makefile | xargs grep 'INSTALL.*PREFIX' \
       | grep -v DESTDIR
 


Home | Main Index | Thread Index | Old Index