Improving /usr/ports/Makefile ?
Kris Kennaway
kris at obsecurity.org
Sat May 1 22:41:49 PDT 2004
On May 1, 2004, at 5:22 PM, Robin Schoonover wrote:
> I'd rather have something like
>
> .for TCAT in ${SUBDIR}
> . if exists (${.CURDIR}/${TCAT})
> _SUBDIR_C+= ${TCAT}
> . endif
> .endfor
> SUBDIR=${_SUBDIR_C}
>
> attached after all the SUBDIR lines instead because it adds less
> clutter
> to the actual SUBDIR listing, which makes it a little eaiser (IMO) to
> read.
Are you sure this will actually do anything? Without referring to the
code I would expect bsd.port.subdir.mk to ignore (with warning)
categories that are listed but nonexistent.
Kris
More information about the freebsd-ports
mailing list