From owner-freebsd-ports@FreeBSD.ORG Mon Jul 28 06:22:43 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2733237B401; Mon, 28 Jul 2003 06:22:43 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-63-207-60-135.dsl.lsan03.pacbell.net [63.207.60.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F5043F3F; Mon, 28 Jul 2003 06:22:39 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id E9F4E66D16; Mon, 28 Jul 2003 06:22:36 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 8FCB8447; Mon, 28 Jul 2003 06:22:36 -0700 (PDT) Date: Mon, 28 Jul 2003 06:22:36 -0700 From: Kris Kennaway To: Jens Rehsack Message-ID: <20030728132236.GA44652@rot13.obsecurity.org> References: <200307272105.h6RL5BTo000730@helo.liwing.de> <20030727221222.GA93833@huckfinn.arved.de> <20030728114351.GA53070@rot13.obsecurity.org> <3F25126C.4030501@liwing.de> <20030728121703.GA63021@rot13.obsecurity.org> <3F25192B.1090502@liwing.de> <20030728124927.GA27827@rot13.obsecurity.org> <3F251FDB.2020708@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F251FDB.2020708@liwing.de> User-Agent: Mutt/1.4.1i cc: ports@FreeBSD.org cc: Tilman Linneweh cc: freebsd-gnats-submit@FreeBSD.org cc: Kris Kennaway Subject: Re: ports/36112: [PATCH] New feature for whole ports tree: GS_PORT variable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 13:22:43 -0000 On Mon, Jul 28, 2003 at 03:06:35PM +0200, Jens Rehsack wrote: > >That's not really a problem; ports that have their own optional X11 > >dependencies can (and should) have their WITHOUT_X11 checks to disable > >this, but there's no need for it to also add -nox11 to the ghostscript > >port. The use would just set WITHOUT_X11=foo to turn off x11 support > >in ImageMagick, and GHOSTSCRIPT_PORT=print/ghostscript-gnu-x11 to make > >it depend on a non-X11 ghostscript variant. > > The prblem is here: > # cd /usr/port/textproc/latex2html > # env WITHOUT_X11 make build install clean > --> this action will build and install latex2html's current > version but it will depent on print/ghostscript-[a-z] > instead of print/ghostscript-[a-z]-nox11 as it should. > A portupgrade -fa (without having WITHOUT_X11 defined) > will re-build ghostscript with X11 support this time. > --> A check for the -nox11 ghostscript port is an easy way > and should be done by the included script. I think we're talking at cross-purposes. If latex2html is changed to use GHOSTSCRIPT_PORT, then the port built with GHOSTSCRIPT_PORT=print/ghostscript-gnu-x11 and WITHOUT_X11=foo will have the correct dependencies. Kris