Closed infracaninophile closed 9 years ago
I think checking for SUBDIR is wrong some may have custom ports not in there. Probably the right thing to do is check if there is a Makefile in the directory, as well as checked the return value of executed make command, that will be faster as well
Why don't cache result of make -VSUBDIR? negative effect of such cache is a memory consumption.
Which might be very small any, yes caching is the solution imgo Le 26 juil. 2014 13:41, "andrejzverev" notifications@github.com a écrit :
Why don't cache result of make -VSUBDIR? negative effect of such cache is a memory consumption.
— Reply to this email directly or view it on GitHub https://github.com/freebsd/pkg/issues/408#issuecomment-50231877.
that has been done
If a port is removed from the tree, but for whatever reason, the directory still exists on some system, it can lead to
pkg version
producing incoherent results.pkg version
should examine the$SUBDIRS
variable in category Makefiles to validate port viability.From IRC: