From owner-freebsd-ports Wed May 17 09:07:36 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA07433 for ports-outgoing; Wed, 17 May 1995 09:07:36 -0700 Received: from eikon.regent.e-technik.tu-muenchen.de (root@eikon.regent.e-technik.tu-muenchen.de [129.187.42.3]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id JAA07425 for ; Wed, 17 May 1995 09:07:29 -0700 Received: from vector.eikon.e-technik.tu-muenchen.de ([129.187.142.36]) by eikon.regent.e-technik.tu-muenchen.de with SMTP id <43057>; Wed, 17 May 1995 18:07:11 +0200 Received: (from jhs@localhost) by vector.eikon.e-technik.tu-muenchen.de (8.6.11/8.6.9) id OAA24418 for ports@freebsd.org; Wed, 17 May 1995 14:33:59 +0200 Date: Wed, 17 May 1995 14:33:59 +0200 From: Julian Howard Stacey Message-Id: <199505171233.OAA24418@vector.eikon.e-technik.tu-muenchen.de> To: ports@FreeBSD.org Subject: SUBDIR in Makefiles - usage thereof Sender: ports-owner@FreeBSD.org Precedence: bulk I suggest a minor syntax re-org of ports/Makefile & ports/*/Makefile : Present: SUBDIR = this that the_other foobar Future SUBDIR?= SUBDIR += this SUBDIR += that SUBDIR += the_other SUBDIR += foobar This will enable a higher success ratio when multiple & possibly overlapping/ inconsistent patch scripts, that are are applied from time to time on local ports dirs that aren't monolithcally & repetitively remade on the odd spare gigabyte drive that we all have handy ;-) This minor change buys flexibility, it's also been tried & tested before (& is still to be seen in such files as src/Makefile) I also propose we prepend a SUBDIR?= to allow for extra things `on the fly', this hook would allow (eg) to have `ports in progress' that we want in the tree for some reason, but don't want automatically compiled ... yet. Whether this is done before or after 2.0.5 is (I imagine) Satoshi's choice. Julian S.