git: 577f0f83f6c6 - 2023Q1 - graphics/birdfont: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Feb 2023 13:49:33 UTC
The branch 2023Q1 has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=577f0f83f6c6a11ad833dad1e268d3a7c65d8bbd commit 577f0f83f6c6a11ad833dad1e268d3a7c65d8bbd 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:48:38 +0000 graphics/birdfont: fix build on powerpc ld: error: ./build/bin/libbirdgems.so: undefined reference to sqrt [--no-allow-shlib-undefined] (cherry picked from commit 95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd) --- 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