From owner-freebsd-x11@FreeBSD.ORG Sat Jul 3 22:40:08 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A56916A4CE for ; Sat, 3 Jul 2004 22:40:08 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67A3E43D41 for ; Sat, 3 Jul 2004 22:40:07 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 1133D1DD551; Sun, 4 Jul 2004 00:40:06 +0200 (CEST) Received: from niobe.ijs.si ([193.2.4.66]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30422-16; Sun, 4 Jul 2004 00:40:04 +0200 (CEST) Received: from rincewind.ijs.si (rincewind.ijs.si [193.2.4.137]) by niobe.ijs.si (Postfix) with ESMTP id 258CD1DD529; Sun, 4 Jul 2004 00:40:04 +0200 (CEST) From: Dejan Lesjak To: Skip Ford Date: Sun, 4 Jul 2004 00:40:03 +0200 User-Agent: KMail/1.6.2 References: <200407022356.30876.dejan.lesjak@ijs.si> <20040703161006.GA699@lucy.pool-151-204-204-204.pskn.east.verizon.net> In-Reply-To: <20040703161006.GA699@lucy.pool-151-204-204-204.pskn.east.verizon.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407040040.03895.dejan.lesjak@ijs.si> X-Virus-Scanned: by amavisd-new / Sophos+Sophie at ijs.si cc: freebsd-x11@freebsd.org Subject: Re: Proposal for bsd.port.mk change to allow XFree86/XOrg coexistance in ports X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2004 22:40:08 -0000 On Saturday 03 of July 2004 18:10, Skip Ford wrote: > Dejan Lesjak wrote: > > Ahem, and here is the patch inline this time... > > > > --- bsd.port.mk.orig Tue Jun 29 22:52:56 2004 > > +++ bsd.port.mk Tue Jun 29 23:50:14 2004 > > @@ -1396,6 +1396,41 @@ > > LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype > > .endif > > > > +.if defined(XWINDOW_SYSTEM) && ${XWINDOW_SYSTEM:L} == xorg > > Why not use WITH_XORG? No particular reason. I was thinking about also having -devel versions of ports, so make.conf could then have XWINDOW_SYSTEM=xorg-devel for example. But of course this can olso be done by defining WITH_XORG_DEVEL or some such. Perhaps I wanted to avoid introducing even more variables, when I saw how many there already would be :) One another option with less variables would be perhaps possible with some sort of prefix variable. Something like this: X_PORTS_PREFIX= xorg- and then depending on libraries like so: LIB_DEPENDS= X11.6:${PORTSDIR}/x11/${X_PORTS_PREFIX}libraries Perhaps something like this would be more elegant. Some of ports would probably have to be renamed a bit for this though (eg. XFree86-4-fontScalable vs xorg-fonts-truetype and xorg-fonts-type1). Dejan