HEADS UP - master/slave ports

Dan Langille dan at langille.org
Thu Jun 17 11:41:56 GMT 2004

On 17 Jun 2004 at 12:27, Roman Neuhauser wrote:

> # dan at langille.org / 2004-06-16 11:41:54 -0400:
> > Note: FreshPorts beta is making use of this patch to obtain this 
> > master/slave information (tabs will be corrupted in this paste and 
> > lines will be wrapped):
>     ...
> > +MASTERPORT!=   ${ECHO_CMD} "${_MASTERDIR}" | ${SED} -Ee 's;^.*/([^/]+/[^/]+)/?$$;\1;'
>     You don't need the sed, or rely on the fact that the category
>     hierarchy is flat.  Instead:

I apologise for not giving credit to Mark Linimon for patch.

Roman: I tried your patch.  Here is what is does:

[dan at polo:~/ports/www/mod_php4] $ make -V MASTERPORT -f ./Makefile 
PORTSDIR=~/ports LOCALBASE=/nonexistentlocal X11BASE=/nonexistentx
Unknown modifier '`'

Unclosed variable specification for MASTERDIR
Unknown modifier ''

[repeat above three until you reach 440 lines of output.

FWIW, the first line of output changes slightly if you remove the 
LOCALBASE specification, the first line of output changes to:
Unknown modifier '`'

I don't how to fix that.  cheers.
Dan Langille : http://www.langille.org/
BSDCan - http://www.bsdcan.org/

More information about the freebsd-ports mailing list