From owner-freebsd-ports Sun Jan 13 11:45:55 2002 Delivered-To: freebsd-ports@freebsd.org Received: from squall.waterspout.com (squall.waterspout.com [208.13.56.12]) by hub.freebsd.org (Postfix) with ESMTP id 7596B37B417; Sun, 13 Jan 2002 11:45:52 -0800 (PST) Received: by squall.waterspout.com (Postfix, from userid 1050) id EAF749B08; Sun, 13 Jan 2002 14:45:42 -0500 (EST) Date: Sun, 13 Jan 2002 14:45:42 -0500 From: Will Andrews To: The Anarcat Cc: Jeremy Lea , Will Andrews , ports@FreeBSD.ORG Subject: Re: Making bento recognize dual-packages pors (Re: cvs commit: ports/net/cvsup-without-gui Makefile) Message-ID: <20020113144542.A73815@squall.waterspout.com> Reply-To: Will Andrews Mail-Followup-To: The Anarcat , Jeremy Lea , Will Andrews , ports@FreeBSD.ORG 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> <3C41DC3B.FC22A4F3@anarcat.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C41DC3B.FC22A4F3@anarcat.dyndns.org> User-Agent: Mutt/1.3.22.1i 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 On Sun, Jan 13, 2002 at 02:12:59PM -0500, The Anarcat wrote: > > 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? :) I should note that we had a very similar thread to this in ~Oct 2000, with many people giving up on it because of the complexity. You really need to have a working mini-bento installed on your machine to figure out whether your patches really work. It's not hard, but the process of setting it up isn't very well documented, and there are a few catches that stop many people. > > 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 Which, correct me if I'm wrong, is the same thing as having them in separate ports, right? > 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. Sure they can, on bento. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message