HEADS-UP: new default linux base port

Boris Samorodov bsam at ipt.ru
Sun Jun 18 18:22:47 UTC 2006


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


More information about the freebsd-emulation mailing list