From owner-freebsd-ports Fri Aug 14 14:24:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16197 for freebsd-ports-outgoing; Fri, 14 Aug 1998 14:24:58 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from localhost.my.domain (ppp6538.on.bellglobal.com [206.172.208.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16191; Fri, 14 Aug 1998 14:24:53 -0700 (PDT) (envelope-from hoek@FreeBSD.ORG) Received: (from tim@localhost) by localhost.my.domain (8.8.8/8.8.8) id QAA16485; Fri, 14 Aug 1998 16:20:51 -0400 (EDT) (envelope-from tim) Message-ID: <19980814162051.F4001@zappo> Date: Fri, 14 Aug 1998 16:20:51 -0400 From: Tim Vanderhoek To: Satoshi Asami Cc: ports@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: comments on X dependency patch? References: <19980729221452.A27633@zappo> <199808050936.CAA10460@silvia.hip.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199808050936.CAA10460@silvia.hip.berkeley.edu>; from Satoshi Asami on Wed, Aug 05, 1998 at 02:36:42AM -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 05, 1998 at 02:36:42AM -0700, Satoshi Asami wrote: > >> I think there is a PR submitted that will turn this into an error, >> which is what it looks like it was intended to be (from the code), >> and which it is (supposedly) documented to be. > > Eek. Well, we gotta fix that anyways. How should we go about > installing the pkg info? Well, the poor-man's fix would be to simply, from the ports system upgrade kit, I suppose, ${TOUCH} ${PKG_DBDIR}/`cd ${PORTSDIR}/x11/XFree86; make package-name` But that would be confusing for any poor user who tries to pkg_delete(1) or pkg_info(1) the resulting file. :) [Maybe a corresponding (really ugly) hack to pkg_info(1) to prevent confusion?] Provided that XFree86-via-sysinstall and XFree86-via-ports-system are reasonably similar, a nicer fix would be cd XFree86-port-included-in-the-upgrade-kit; TMPPLIST=pkg/PLIST make fake-pkg The bsd.port.mk could, of course, be modified to treate TMPPLIST as a dependency of fake-pkg:, which I lean towards (even if via a simple hack like duplicating the appropriate 5+1 lines from _PORT_USE: in fake-pkg: :-), but fake-pkg: isn't used too much and XFree86 doesn't (currently) use PLIST_SUB, so it's probably not critical... Of course, sysinstall has to be upgraded, also. Worst case is probably handling the user who hasn't upgraded /stand to include the upgraded sysinstall. Said user would upgrade their system, expecting the ports system to be properly upgraded (except it's not). Only a check built into bsd.port.mk would handle this. Alternatively, XFree86 installation can be removed from sysinstall. ;-) -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message