Skip site navigation (1)Skip section navigation (2)
Date:      20 Apr 2000 01:20:47 -0700
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        Dirk Froemberg <dirk@freebsd.org>
Cc:        Michael Haro <mharo@freebsd.org>, ports@freebsd.org
Subject:   Re: cvs commit: ports/databases/mysql322-server Makefile
Message-ID:  <vqc1z415gkg.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Dirk Froemberg's message of "Thu, 20 Apr 2000 09:53:45 %2B0200"
References:  <200004200444.VAA93179@freefall.freebsd.org> <20000420095344.A67299@physik.TU-Berlin.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Dirk Froemberg <dirk@freebsd.org>

 * What is the SLAVEDIRS variable good for?

Sorry, I discussed it with Michael but didn't send it to the list.

The SLAVEDIRS is a list of ports that include this port via
MASTERDIR.  Its primary purpose is to make it easier to find which
ports might be affected when you change a certain Makefile (ever
wondered about those ?='s?).

Basically what we have now is a one-way linked forest, such as

  editors/mule
    ^ ^ ^ ^ ^
    | | | | |
    | | | | japanese/mule-canna
    | | | japanese/mule-sj3
    | | japanese/mule-wnn4
    | korean/mule-wnn4
    chinise/mule-wnn4

with no link from the parent to the children.  SLAVEDIRS adds reverse
links so we can traverse the trees in either direction.

mharo said he's going to fix portlint to check this list as well as
make portlint say something sensible when you run it on a slave port.
I'm also thinking of adding some kind of test to bsd.port.mk, but that
needs more thought (surely bsd.port.mk complaining wrongly is much
more serious than portlint doing the same).

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqc1z415gkg.fsf>