git: 95c8e8dc31a0 - main - graphics/birdfont: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 02 Feb 2023 13:46:04 UTC
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