Date: Tue, 1 Nov 2005 15:30:23 GMT From: NIIMI Satoshi <sa2c@sa2c.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/87416: [PATCH] adapt lang/sbcl to PREFIX other than /usr/local Message-ID: <200511011530.jA1FUNj0005516@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/87416; it has been noted by GNATS. From: NIIMI Satoshi <sa2c@sa2c.net> To: bug-followup@FreeBSD.org, MOROHOSHI Akihiko <moro@remus.dti.ne.jp>, Paul Ledbetter III <aeacides@gmail.com> Cc: Subject: Re: ports/87416: [PATCH] adapt lang/sbcl to PREFIX other than /usr/local Date: Wed, 02 Nov 2005 00:25:35 +0900 This is a multi-part message in MIME format. --------------000709020001060707020906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Basically I agree MOROHOSHI Akihiko that installed binary should respect PREFIX variable. But I also agree Paul Ledbetter III that the original patch is not acceptable. How about to locate attached patch in files/ to make ${WRKSRC}/make.sh accept INSTALL_ROOT like ${WRKSRC}/install.sh, and to change Makefile as: > do-build: > - (cd ${WRKSRC} && ${SH} make.sh ${LISP_CMD}) > + (cd ${WRKSRC} && ${SETENV} INSTALL_ROOT=${PREFIX} \ > + ${SH} make.sh ${LISP_CMD}) Although this change does not modify "/usr/local" in documents, I think it is not so important. -- NIIMI Satoshi --------------000709020001060707020906 Content-Type: text/plain; name="patch-src_runtime_GNUmakefile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-src_runtime_GNUmakefile" Index: src/runtime/GNUmakefile =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/runtime/GNUmakefile,v retrieving revision 1.24 diff -u -r1.24 GNUmakefile --- src/runtime/GNUmakefile 19 Aug 2005 12:15:15 -0000 1.24 +++ src/runtime/GNUmakefile 1 Nov 2005 14:46:55 -0000 @@ -22,7 +22,10 @@ DEPEND_FLAGS = -MM GREP = grep -CFLAGS = -g -Wall -O3 +ifeq ($(strip $(INSTALL_ROOT)),) +INSTALL_ROOT = /usr/local +endif +CFLAGS = -g -Wall -O3 -DSBCL_HOME=\"$(INSTALL_ROOT)/lib/sbcl/\" ASFLAGS = $(CFLAGS) CPPFLAGS = -I. --------------000709020001060707020906--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511011530.jA1FUNj0005516>