From owner-freebsd-ports Sun May 28 18:25:55 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA09263 for ports-outgoing; Sun, 28 May 1995 18:25:55 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA09257 for ; Sun, 28 May 1995 18:25:53 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id SAA06757; Sun, 28 May 1995 18:25:18 -0700 From: "Rodney W. Grimes" Message-Id: <199505290125.SAA06757@gndrsh.aac.dev.com> Subject: Re: ports/Makefile SUBDIR=bla..bla to SUBDIR?=bla..bla To: asami@CS.Berkeley.EDU (Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=) Date: Sun, 28 May 1995 18:25:18 -0700 (PDT) Cc: jhs@vector.eikon.e-technik.tu-muenchen.de, ports@FreeBSD.org In-Reply-To: <199505290114.SAA08737@silvia.HIP.Berkeley.EDU> from "Satoshi Asami | =?ISO-2022-JP?B?GyRCQHUbKEI=?= =?ISO-2022-JP?B?GyRCOCsbKEIgGyRCOC0bKEI=?=" at May 28, 95 06:14:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1449 Sender: ports-owner@FreeBSD.org Precedence: bulk > > * it will allow us (those of us without a gig disc to spare for ports) > * to compile much of ports without all ( I for instance have set a SUBDIR in my > * .cshrc that skips japanese & russian & games & audio ) > > Setting SUBDIR in your environment is not the correct way to do this, > among other things it will screw up some ports that include some other > bsd.*.mk (eispack? or something) 'cause they use the SUBDIR too. > > For skipping individual ports or subtrees, you can use DUDS, as in > > make package DUDS="japanese russian games audio" And as I have already posted if you want to keep a specific list of ports you wish to have built by a make in /usr/ports, simply cd /usr/ports cp Makefile makefile vi makefile (change SUBDIR to be something like this:) SUBDIR= devel/gmake \ mail/elm mail/metamail \ net/gopher net/sup net/tcpblast \ print/a2ps print/ghostscript \ utils/iozone utils/ispell utils/lmbench utils/mtools utils/top \ x11/xearth [My personal list of ports that I always like to have :-)] This is a 2.2 feature... We already have lots of knobs, I am working on .mk stuff that will help some more with this (any directory that is in SUBDIR, but does not exists can be skipped without all the crap we have in /usr/src/Makefile). -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD