Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2023 15:10:56 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 06d5cbc56974 - main - graphics/graphite2: Prevent overlinking library
Message-ID:  <202302201510.31KFAuC0058435@gitrepo.freebsd.org>

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

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

commit 06d5cbc56974c830c2071f8edb2e9ce45853bb3d
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-02-20 14:15:47 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-02-20 15:10:31 +0000

    graphics/graphite2: Prevent overlinking library
    
    Avoid overlinking as it potentially cause issues with consumers
    This also fixes unit tests for harfbuzz
    
    PR:             248423
    Approved by:    portmgr (build fix and maintainer timeout, 2+ years)
---
 graphics/graphite2/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/graphite2/Makefile b/graphics/graphite2/Makefile
index 045c2237289d..f31403aca1c3 100644
--- a/graphics/graphite2/Makefile
+++ b/graphics/graphite2/Makefile
@@ -12,6 +12,7 @@ LICENSE_COMB=	dual
 LICENSE_FILE_LGPL21=	${WRKSRC}/LICENSE
 
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>0:print/py-fonttools@${PY_FLAVOR}
+LDFLAGS+=	-Wl,--as-needed
 
 USES=		cmake compiler:c++11-lib cpe python:3.7+,test tar:tgz
 USE_LDCONFIG=	yes



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