From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 2 08:25:22 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27191106564A for ; Wed, 2 Apr 2008 08:25:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id D2F948FC2A for ; Wed, 2 Apr 2008 08:25:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1JgyHY-0004eM-GZ; Wed, 02 Apr 2008 12:25:20 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JgyKP-0000KR-4e; Wed, 02 Apr 2008 12:28:17 +0400 To: Alexander Leidinger References: <07011489@ipt.ru> <20080321115227.zkcrs6rvc4c8s004@webmail.leidinger.net> <98037310@ipt.ru> <20080322085434.10838040@deskjail> <62336383@ipt.ru> <62213004@bs1.sp34.ru> <20080402080145.97672c008u0ewri8@webmail.leidinger.net> From: Boris Samorodov Date: Wed, 02 Apr 2008 12:28:17 +0400 In-Reply-To: <20080402080145.97672c008u0ewri8@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 02 Apr 2008 08\:01\:45 +0200") Message-ID: <05084110@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: Re: add LINUX_OSRELEASE to bsd.linux-rpm.mk X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 08:25:22 -0000 On Wed, 02 Apr 2008 08:01:45 +0200 Alexander Leidinger wrote: > Quoting Boris Samorodov (from Tue, 01 Apr 2008 20:42:27 +0400): > > On Mon, 24 Mar 2008 00:36:00 +0300 Boris Samorodov wrote: > >> On Sat, 22 Mar 2008 08:54:34 +0100 Alexander Leidinger wrote: > > > >> > Where do we have to introduce the *_PORT > >> > stuff? Do we need a bsd.linux.mk, or can the bsd.linux-rpm.mk be used > >> > for this? The strict answer may be no, but do we want to be that strict? > > > >> Well, I'd prefer to use one existing file: bsd.linux-rpm.mk. If/when > >> we use some other distro (I have some positive results with ubuntu) > >> then may be we will have to use bsd.linux-deb.mk and split > >> bsd.linux-rpm.mk into two files. But so far it's OK to me to use > >> the existing one. > > > > Seems that I have change my mind since linux-rpm.mk is too tied to rpm > > format and dealing with it. The file can't be (easily) used with an > > average linux port. I tried to convert to using linux-rpm.mk acroread7 > > port. I got a mess. :-( > > > > Well, what about new bsd.linux-apps.rpm? > I think we should keep the .mk at the end. Sure, it was a typo. > What about > - bsd.port.mk which includes > - bsd.linux.mk which includes > - bsd.linux-rpm.mk (maybe conditionally) > - bsd.linux-XXX.mk (maybe conditionally) > LINUX_OSRELEASE can be put into bsd.linux.mk. The USE_LINUX stuff can > go into it too. Yep, fully agreed, this is our goal. But it will influence all linux ports at once. While I try to use an evolition way with minimal immediate impact to most linux ports. Almost as a Russian proverb says "Drive slower, get farther". ;-) WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve