From owner-freebsd-ports Sun Jan 13 11:13: 8 2002 Delivered-To: freebsd-ports@freebsd.org Received: from tomts6-srv.bellnexxia.net (tomts6.bellnexxia.net [209.226.175.26]) by hub.freebsd.org (Postfix) with ESMTP id EFDEB37B404; Sun, 13 Jan 2002 11:13:03 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.176.241]) by tomts6-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20020113191301.MITH14434.tomts6-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Sun, 13 Jan 2002 14:13:01 -0500 Received: from anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 0D5AF1A3E; Sun, 13 Jan 2002 14:12:58 -0500 (EST) Message-ID: <3C41DC3B.FC22A4F3@anarcat.dyndns.org> Date: Sun, 13 Jan 2002 14:12:59 -0500 From: The Anarcat X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: fr-CA,fr,en MIME-Version: 1.0 To: Jeremy Lea Cc: Will Andrews , ports@FreeBSD.ORG Subject: Re: Making bento recognize dual-packages pors (Re: cvs commit: ports/net/cvsup-without-gui Makefile) References: <200201121943.g0CJhWQ26234@freefall.freebsd.org> <200201122105.g0CL5lQ85471@aldan.algebra.com> <20020112221028.GA1233@shall.anarcat.dyndns.org> <20020112185412.S73815@squall.waterspout.com> <20020113103858.B27621@shale.csir.co.za> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jeremy Lea wrote: > > Hi, > > On Sat, Jan 12, 2002 at 06:54:12PM -0500, Will Andrews wrote: > > Patches, please. > > See the bsd.port.subdir.mk part of > http://people.freebsd.org/~reg/portmk.patch. It needs a few lines from > the bsd.port.mk part too (for WRKDIR). > > You add things like 'SUBDIR+=sawfish,WITH_GNOME' to the category > Makefile. It's not perfect, because it can't to the readme.html stuff, > but it's a start, and it's simple. Hmm.. For me, this patch is quite big. And hacking subdir is not the way. But there is good stuff in there. You don't mind if I take a few things off this, right? :) > The WRKDIR stuff should be handled by or the WITH_* magic > that the port is using, so that the work directory becomes work.gnome or > something like that... Interesting approach. But doesn't this just come back to: make WITH_GNOME=yes package make clean make WITH_GNOME=no package ? But of course this means that the 2 packages (with and w/o) can't be build in parallel. If WRKDIRNAME is hacked it's different. A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message