Date: Sun, 18 Jun 2006 22:23:00 +0400 From: Boris Samorodov <bsam@ipt.ru> To: linimon@lonesome.com (Mark Linimon) Cc: emulation@freebsd.org, Alexander Leidinger <Alexander@Leidinger.net> Subject: Re: HEADS-UP: new default linux base port Message-ID: <83300923@srv.sem.ipt.ru> In-Reply-To: <20060616192943.GC2775@soaustin.net> (Mark Linimon's message of "Fri, 16 Jun 2006 14:29:43 -0500") References: <20060616085950.po4m4yfj4g0w8880@netchild.homeip.net> <58371182@srv.sem.ipt.ru> <20060616185513.GB839@soaustin.net> <15486674@srv.sem.ipt.ru> <20060616192943.GC2775@soaustin.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 16 Jun 2006 14:29:43 -0500 Mark Linimon wrote:
> Here's an idea.
> Let's try to update the Handbook with some text but say "see bsd.port.mk
> for the current default linux_base, which is the one the ports team
> supports the best."
> That way, everything but the current value of the thing is in the Handbook.
> That way, we don't have to have the Handbook possibly lagging the actual
> value, when we commit to bsd.port.mk and then forget to modify the Handbook.
Agreed. Here is the patch:
-----
Index: chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml,v
retrieving revision 1.131
diff -u -r1.131 chapter.sgml
--- chapter.sgml	30 May 2006 23:08:24 -0000	1.131
+++ chapter.sgml	18 Jun 2006 18:10:56 -0000
@@ -172,7 +172,9 @@
 	  corresponding to different versions of various Linux distributions.
 	  You should install the port most closely resembling the
 	  requirements of the Linux applications you would like to
-	  install.</para></note>
+	  install. See bsd.port.mk for the current default linux_base,
+	  which is the one the ports team supports the best.
+	</para></note>
 
       </sect3>
 
-----
But since bsd.linux.mk file is not the simplest one to read ;-)
I propose the next patch:
-----
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.534
diff -u -r1.534 bsd.port.mk
--- bsd.port.mk	16 Jun 2006 04:53:43 -0000	1.534
+++ bsd.port.mk	18 Jun 2006 18:17:18 -0000
@@ -1669,6 +1669,9 @@
 LINUX_BASE_PORT=	${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base
 .		else
 .			if ${USE_LINUX:L} == "yes"
+#
+# Here is the current default linux_base port
+#
 LINUX_BASE_PORT=	${LINUXBASE}/etc/fedora-release:${PORTSDIR}/emulators/linux_base-fc4
 .			else
 IGNORE=	There is no emulators/linux_base-${USE_LINUX}, perhaps wrong use of USE_LINUX or OVERRIDE_LINUX_BASE_PORT.
-----
WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83300923>
