Re: Build fixes for FreeBSD
Robert Ransom <[email protected]> Fri, 22 Jun 2012 17:18:17 +0000
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <CABqy+sqRgfP=t4O0KKi3ja9OLY75G8AJ0Lte22HBWzs64iGd0w@mail.gmail.com> |
On 6/21/12, Robert Ransom <[email protected]> wrote: > See attached. > > I still need to ‘export MAKE=gmake’ before running autogen.sh, but at > least now autogen.sh can be made to work at all. Taylor R Campbell informed me that S48's makefile is compatible with BSD make. See attached for more patches to autogen.sh; now I don't need to set an environment variable at all (but I'm leaving that in so it'll be easier to test autogen.sh with different make implementations in the future). Robert Ransom
0003-Ensure-that-build-filenames.make-exists-before-runni.patch
(text/x-patch, 774 B)
From f2ab4114ad797daa5efaec8ef7955bed47bd742a Mon Sep 17 00:00:00 2001 From: Robert Ransom <[email protected]> Date: Fri, 22 Jun 2012 16:42:02 +0000 Subject: [PATCH 3/5] Ensure that build/filenames.make exists before running make Needed for NetBSD and FreeBSD make. --- autogen.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogen.sh b/autogen.sh index d219746..9f3873d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -17,6 +17,8 @@ ACLOCAL="aclocal -I m4" autoreconf -v -i ./configure rm -rf autom4te.cache rm -f scheme48.image build/initial.image-32 build/initial.image-64 c/scheme48.h +>build/filenames.make +touch -t 197001010101 build/filenames.make ${MAKE} build/filenames.make ${MAKE} i-know-what-i-am-doing ${MAKE} c/scheme48.h -- 1.7.9.6
0004-Specify-targets-by-the-names-specified-in-Makefile-i.patch
(text/x-patch, 927 B)
From 1711137391d352f3c12bb653b8d8d18fbcda13d9 Mon Sep 17 00:00:00 2001 From: Robert Ransom <[email protected]> Date: Fri, 22 Jun 2012 16:48:09 +0000 Subject: [PATCH 4/5] Specify targets by the names specified in Makefile in autogen.sh Needed for NetBSD make, and possibly also FreeBSD make. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 9f3873d..8297795 100755 --- a/autogen.sh +++ b/autogen.sh @@ -19,8 +19,8 @@ rm -rf autom4te.cache rm -f scheme48.image build/initial.image-32 build/initial.image-64 c/scheme48.h >build/filenames.make touch -t 197001010101 build/filenames.make -${MAKE} build/filenames.make +${MAKE} ./build/filenames.make ${MAKE} i-know-what-i-am-doing ${MAKE} c/scheme48.h -${MAKE} build/initial.image-32 build/initial.image-64 +${MAKE} ./build/initial.image-32 ./build/initial.image-64 ${MAKE} distclean -- 1.7.9.6
0005-Remove-comment-about-FreeBSD-make-not-working-now-th.patch
(text/x-patch, 745 B)
From a8796442248d725f6b3d7a49cde3714b672cd1b9 Mon Sep 17 00:00:00 2001 From: Robert Ransom <[email protected]> Date: Fri, 22 Jun 2012 17:07:38 +0000 Subject: [PATCH 5/5] Remove comment about FreeBSD make not working, now that I know it does work (provided that build/filenames.make exists) --- autogen.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 8297795..1287e28 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,8 +6,6 @@ # # Ensure that $MAKE is set. -# FreeBSD users likely need to set MAKE=gmake or MAKE=bmake -# in their environment before running ./autogen.sh . echo "${MAKE:=make}" >/dev/null echo "This script requires an installed scheme48 executable in the path." -- 1.7.9.6