Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2023 13:46:04 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: 95c8e8dc31a0 - main - graphics/birdfont: fix build on powerpc
Message-ID:  <202302021346.312Dk4oX090887@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=95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd

commit 95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-02-02 13:46:01 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-02-02 13:46:01 +0000

    graphics/birdfont: fix build on powerpc
    
    ld: error: ./build/bin/libbirdgems.so: undefined reference to sqrt [--no-allow-shlib-undefined]
---
 graphics/birdfont/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/birdfont/Makefile b/graphics/birdfont/Makefile
index 2576db343364..f6a441daf1f3 100644
--- a/graphics/birdfont/Makefile
+++ b/graphics/birdfont/Makefile
@@ -35,6 +35,7 @@ CONFIGURE_ARGS=	--cc="${CC}" \
 		--ldflags="${LDFLAGS}" \
 		--prefix="${PREFIX}"
 
+LDFLAGS_powerpc=	-lm
 _STRIPPABLE=	bin/birdfont bin/birdfont-autotrace bin/birdfont-export \
 		bin/birdfont-import lib/libbirdfont.so.36.0 \
 		lib/libbirdgems.so.0.0



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