From owner-freebsd-ports Fri Jun 5 22:18:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA22736 for freebsd-ports-outgoing; Fri, 5 Jun 1998 22:18:27 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22730; Fri, 5 Jun 1998 22:18:23 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id WAA03559; Fri, 5 Jun 1998 22:17:57 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Terry Lambert cc: ache@nagual.pp.ru (=?koi8-r?B?4c7E0sXKIP7F0s7P1w==?=), peter@netplex.com.au, current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: lorder problem: aout vs. elf (and GNU Configure problem too) In-reply-to: Your message of "Fri, 05 Jun 1998 21:21:39 -0000." <199806052121.OAA04575@usr08.primenet.com> Date: Fri, 05 Jun 1998 22:17:56 -0700 Message-ID: <3555.897110276@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > My gut feeling would be to put variant symbolic links in, and use a > dollarsign ("$") to designate a kernel variant keyword: > > ln -s "/usr/lib.\${\$imgact}" /usr/lib Yuck. That's gross and you know it's gross, so I won't even try to argue the point. Why the gratuitous complication? Just accept $foo or ${foo} as the usual convention and, if you're absolutely dead-set against having the kernel grub around in the user's actual environment for this information, have it look in a logical name table someplace with a new sysctl()'ish API for frobbing it. Too bad sysctl(8) doesn't allow one to add new variables dynamically when the system is up, you could even use sysctl for this one. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message