From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 4 07:50:49 2005 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D082A16A4CE for ; Fri, 4 Mar 2005 07:50:49 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7881543D2D for ; Fri, 4 Mar 2005 07:50:48 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost [IPv6:::1]) by niobe.ijs.si (Postfix) with ESMTP id AEE0D1DD55F for ; Fri, 4 Mar 2005 08:50:47 +0100 (CET) Received: from niobe.ijs.si ([127.0.0.1]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32143-01-68 for ; Fri, 4 Mar 2005 08:50:39 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id 981FC1DD659 for ; Fri, 4 Mar 2005 08:50:39 +0100 (CET) Received: from idefix.ijs.si (idefix.ijs.si [193.2.4.33]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id 37D6C1C00737 for ; Fri, 4 Mar 2005 08:50:38 +0100 (CET) From: Dejan Lesjak To: freebsd-gnome@freebsd.org Date: Fri, 4 Mar 2005 08:50:38 +0100 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503040850.38524.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Subject: Specifying MTREE_FILE in couple of freebsd-gnome maintained ports X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 07:50:49 -0000 Quite some time ago, the following snippets were added to several freebsd-gnome maintained ports to use proper mtree file: .if ${X_WINDOW_SYSTEM:L} == xfree86-3 MTREE_FILE= /etc/mtree/BSD.x11.dist .else MTREE_FILE= /etc/mtree/BSD.x11-4.dist .endif As it seems, this had to be done because these ports couldn't use USE_X_PREFIX (as it implies X libraries dependency), but do use PREFIX = ${X11BASE}. In rev. 1.503 of bsd.port.mk the decide-what-mtree-file-to-use logic was modified to check for ${PREFIX} == ${X11BASE} case, which seems to make this snippet in ports obsolete. And now to the reason I'm nagging about this: the X.Org update includes some cleanups to mtree. To work around the plist errors that would result by it a temporary mtree file would be added to ports and bsd.port.mk modified to take that one instead of BSD.x11-4.dist. These ports would either have to be modified, but as it seems this MTREE_FILE specification is now redundant, it can rather be removed alltogether. The ports that have this: lang/librep textproc/scrollkeeper x11-fonts/bitstream-vera x11-fonts/fontconfig So, what do you guys think? I can send you a patch for this if you need one. Dejan