On Fri, Aug 13, 2021 at 06:13:33PM +0200, Theo Buehler wrote: > > So I suggest that we go with the diff below that removes requiring ./ > unless someone explains why it should be kept. I'll then strip the > ./ from the Go ports and switch from <x> to "x" in a few Rust ports.
ok semarie@ > Index: portcheck > =================================================================== > RCS file: /cvs/ports/infrastructure/bin/portcheck,v > retrieving revision 1.138 > diff -u -p -r1.138 portcheck > --- portcheck 2 Jun 2021 13:07:23 -0000 1.138 > +++ portcheck 13 Aug 2021 16:08:26 -0000 > @@ -612,9 +612,9 @@ check_port_dir() { > portmk_exists=true > ;; > > - modules.inc) > + crates.inc|modules.inc) > test -f "$F" || err "$F is not a file" > - fgrep -qx '.include "./modules.inc"' "$dir"/Makefile || > + fgrep -qx ".include \"$F\"" "$dir"/Makefile || > err "$F not included in Makefile" > ((++non_portmk)) > ;; > > -- Sebastien Marie