ports/87416: [PATCH] adapt lang/sbcl to PREFIX other than /usr/local
MOROHOSHI Akihiko
moro at remus.dti.ne.jp
Fri Oct 14 20:50:21 UTC 2005
The following reply was made to PR ports/87416; it has been noted by GNATS.
From: MOROHOSHI Akihiko <moro at remus.dti.ne.jp>
To: Paul Ledbetter III <aeacides at gmail.com>
Cc: moro at remus.dti.ne.jp, bug-followup at freebsd.org
Subject: Re: ports/87416: [PATCH] adapt lang/sbcl to PREFIX other than /usr/local
Date: Sat, 15 Oct 2005 05:41:14 +0900
Hello,
I can't agree with you. Please read following my opinion.
At Thu, 13 Oct 2005 22:45:38 -0500,
Paul Ledbetter III wrote:
>
> I do not approve. When installing to a non-standard location, the
> user should execute SBCL similarly to the following:
>
> # cd /usr/ports/lang/sbcl
> # make install PREFIX=/var/tmp/foo
> # env SBCL_HOME=/var/tmp/foo/lib/sbcl /var/tmp/foo/bin/sbcl
>
> This behavior is part of SBCL by design. It should not be the
> responsibility of the FreeBSD port.
I don't agree. It's a way of SBCL's binary distribution (and
their careless source code style), not of its design.
I don't think SBCL has a policy to force same location among installations.
I think they just don't pay attention to it enough.
Reason 1:
The RPM package, sbcl-0.9.5-1.i386.rpm, which SBCL project themselves
distribute from sourceforge.net
(http://sourceforge.net/project/showfiles.php?group_id=1373)
does install files in /usr with similar modification.
("strings /usr/bin/sbcl | grep lib/sbcl" says "/usr/lib/sbcl".)
Reason 2:
Reading sbcl-0.9.5/INSTALL, it appears that SBCL authors do not refuse
varying location among installations.
sbcl-0.9.5/INSTALL:
> 1. BINARY DISTRIBUTION
> 1.1. Quick start:
(snip)
> If you install SBCL from binary distribution in other location than
^^^^^^^^^^^^^^^^^^^^^^^^
> "/usr/local", see section 1.2, "Finding ancillary files".
>
> 1.2. Finding ancillary files
(snip)
> Finding core can happen in three ways:
>
> 1. By default, in a location configured when the system was built.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> For binary distributions this is in "/usr/local/lib/sbcl".
^^^^^^^^^^^^^^^^^^^^^^^^
And I can't find any merit to stick to /usr/local even when it
conflicts with sites' policy.
I confirmed that my patch passes "make test" defined in lang/sbcl/Makefile.
Regards,
MOROHOSHI Akihiko
More information about the freebsd-ports-bugs
mailing list