Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2023 16:40:43 GMT
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bb15918c982b - main - lang/sbcl: Fix build on i386
Message-ID:  <202311051640.3A5GehvU046436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb15918c982bed6ad0d4245067edc0de54b4e916

commit bb15918c982bed6ad0d4245067edc0de54b4e916
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2023-11-03 02:10:24 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2023-11-05 16:39:22 +0000

    lang/sbcl: Fix build on i386
    
    SBCL's internal build configuration for FreeBSD amd64 uses
    -isystem/usr/local/include and -L/usr/local/lib.  For some reason, the
    same configure for FreeBSD i386 did not include these.  Fix the build on
    i386 by adding them.
    
    Reported by:    krion (maintainer)
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D42450
---
 lang/sbcl/files/patch-src_runtime_Config.x86-freebsd | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lang/sbcl/files/patch-src_runtime_Config.x86-freebsd b/lang/sbcl/files/patch-src_runtime_Config.x86-freebsd
new file mode 100644
index 000000000000..7d53f10d0594
--- /dev/null
+++ b/lang/sbcl/files/patch-src_runtime_Config.x86-freebsd
@@ -0,0 +1,12 @@
+--- src/runtime/Config.x86-freebsd.orig	2023-11-03 01:58:54 UTC
++++ src/runtime/Config.x86-freebsd
+@@ -17,7 +17,8 @@ LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
+ # runtime.
+ LINKFLAGS += -dynamic -Wl,--export-dynamic -m32
+ 
+-OS_LIBS += -lutil
++OS_LIBS += -lutil -L/usr/local/lib
++CPPFLAGS += -isystem/usr/local/include
+ 
+ # use libthr (1:1 threading).  libpthread (m:n threading) does not work.
+ ifdef LISP_FEATURE_SB_THREAD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311051640.3A5GehvU046436>