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



* On 2026-08-30 at 18:51 BST, Thomas Klausner wrote:

- always include files from the category level, i.e.

 .include "../../www/webkit-gtk41/Makefile.common"

 even thought "../webkit-gtk41/Makefile.common" would also work

It makes sense to use "../.." so that as soon as a package outside of the category also wants to include the file then it will Just Work, and also so that there's a standard pattern for linting but also just for readability.

- having to have ${.CURDIR} before ../../category/path for
 DISTINFO_FILE and PATCHDIR.

Why is this necessary?

Well, so that arbitrary tools don't have to cd to the package directory first in order to work ;) Not just bob, fetch tools, mktool check scripts, etc etc.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index