Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2002 14:45:42 -0500
From:      Will Andrews <will@csociety.org>
To:        The Anarcat <anarcat@anarcat.dyndns.org>
Cc:        Jeremy Lea <reg@FreeBSD.ORG>, Will Andrews <will@csociety.org>, 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>
In-Reply-To: <3C41DC3B.FC22A4F3@anarcat.dyndns.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.gnome.mk> 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




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