pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [emulators/qemu] Deleted patch is still in distinfo
Jonathan Perkin <jperkin%pkgsrc.org@localhost> writes:
> I'd prefer to not encode relative paths in metadata, I just think it's
> far too loose, and really don't like the 'cd' requirement because it
> might not always be suitable (e.g. if a tool such as lintpkgsrc wants
> to operate on multiple packages simultaneously for any reason).
I can see that, but then what about using ${PKGSRC}/ always and skip the
.., for all includes of other stuff. .CURDIR is not really clean, clear
and obviously robust.
> I do think it'd be useful though for bsd.pkg.mk to normalise the paths
> so that you could write "../../foo/bar" in Makefile and the correct
> absolute path is returned. I think this would be reasonably
> straight-forward, and have the added benefit of cleaning up some paths
> being /pkgsrc/cat/pkg and some being /pkgsrc/../../cat/pkg
It's reasonable to separate what humans write and what tools perceive.
I at least find having to add in some curdir thing to some relative
paths but not others to be a sign of trouble.
Home |
Main Index |
Thread Index |
Old Index