Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2023 19:04:53 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8122bb9081e5 - main - misc/valentina: fix build on armv7 / i386 / powerpc by using ld.bfd
Message-ID:  <202303141904.32EJ4rAB021903@gitrepo.freebsd.org>

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

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

commit 8122bb9081e5dc237bdd0a7161c8ab6b3875d324
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-03-14 19:04:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-03-14 19:04:07 +0000

    misc/valentina: fix build on armv7 / i386 / powerpc by using ld.bfd
---
 misc/valentina/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/misc/valentina/Makefile b/misc/valentina/Makefile
index 0acba593b686..e59ae6d53e10 100644
--- a/misc/valentina/Makefile
+++ b/misc/valentina/Makefile
@@ -9,9 +9,6 @@ WWW=		https://smart-pattern.com.ua/en/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE_GPL.txt
 
-BROKEN_armv7=	ld: error: failed to open bin/valentina: Cannot allocate memory
-BROKEN_i386=	ld: error: failed to open bin/valentina: Cannot allocate memory
-
 USES=		compiler:c++11-lang desktop-file-utils dos2unix gl gmake qmake qt:5
 USE_QT=		buildtools:build concurrent core gui linguisttools:build network \
 		opengl printsupport svg testlib:build widgets xml xmlpatterns
@@ -31,4 +28,10 @@ QMAKE_ARGS+=	CONFIG+="no_ccache"
 
 BINARY_ALIAS=	hg=/usr/bin/true git=/usr/bin/false
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc
+LLD_UNSAFE=	yes
+.endif
+
 .include <bsd.port.mk>



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