pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/perl5/files

On Wed, 3 Feb 2010, Matthias Scheler wrote:
> Modified Files:
>       pkgsrc/lang/perl5/files: deinstall.tmpl
> Log Message:
> Don't use "${PKG_PREFIX}" which is not set when this script gets run.
> This avoids error messages from "perllink" while deinstalling (or
> updateing) a Perl module package.
> Fixed based on an analysis provided by Steven Drake on "tech-pkg".
> To generate a diff of this commit:
> cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/perl5/files/deinstall.tmpl

Only problem with your fix is that if someone installed a package with
'-p prefix' when deinstalling the script will use the substuded/original
prefix not the modified one (the resson for having ${PKG_PREFIX} in the
first place and with Joerg's fix should do now).

Thats why I suggested adding the line ": ${PKG_PREFIX=@PREFIX@}" at the 
top of the deisntall.tmpl file. 


Home | Main Index | Thread Index | Old Index