pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/math/py-Scientific-doc



On Tue, Jul 26, 2016 at 09:54:45AM -0700, Alistair Crooks wrote:
> Actually, I disagree - we need to talk about this, as the practice of
> copying information from the PLIST into the Makefile, having to
> maintain information in 2 places, and in general muddying the waters
> between a list of files in the package (the PLIST) and the
> instructions for building the whole package -- these 2 need to be kept
> distinct, both logically and physically.
> 
> If AUTO_MKDIRS isn't working properly, let's fix it, and then make it
> the default, please

Consider the typical example of
    ${BSD_INSTALL_PROG} foo ${DESTDIR}${PREFIX}/bin

This will complete successfully, whether bin is a directory or not.
With AUTO_MKDIRS, removing the PLIST, touching it, running stage-install
and then print-PLIST > PLIST will have a different result compared to
just stage-install. As such, I consider the part about creating bin a
very important and explicit part of the build instructions.

Joerg



Home | Main Index | Thread Index | Old Index