Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 16:54:07 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3ae5feae31f8 - main - lang/guile: fix build on armv7
Message-ID:  <202306051654.355Gs7YB049777@gitrepo.freebsd.org>

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

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

commit 3ae5feae31f8ae7f7a9ef48ae0c120a930491967
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-05-24 10:33:46 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-05 16:52:59 +0000

    lang/guile: fix build on armv7
    
    Build with clang and obey WITH_LTO.
    This fixes the build on armv7.
    
    Suggested by:   andrew@tao11.riddles.org.uk
    Approved by:    bofh (maintainer)
    Differential Revision: https://reviews.freebsd.org/D40255
---
 lang/guile/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 9304e4cf3acf..a263a16fd376 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	guile
 PORTVERSION=	3.0.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang scheme
 MASTER_SITES=	GNU
 
@@ -20,12 +20,13 @@ LIB_DEPENDS=	libffi.so:devel/libffi \
 		libltdl.so:devel/libltdl \
 		libunistring.so:devel/libunistring
 
-USES=		charsetfix compiler:gcc-c++11-lib cpe gmake iconv libtool \
+USES=		charsetfix compiler:c11 cpe gmake iconv libtool \
 		makeinfo pathfix pkgconfig readline tar:lz
 CPE_VENDOR=	gnu
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-lto=${WITHOUT_LTO:Dno:U${WITH_LTO:Dyes:Uno}}
 
 #MAKE_JOBS_UNSAFE=	yes
 INSTALL_TARGET=	install-strip



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