aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-02-02 13:46:01 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-02-02 13:46:01 +0000
commit95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd (patch)
tree521a4fefa3ee6cd90ad602f83f19f05d058836bd
parentd531fa177290f394b63b9a4b8f911a12d4be4e0d (diff)
downloadports-95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd.tar.gz
ports-95c8e8dc31a0c1c9692ef646dd361421b8c4a1dd.zip
graphics/birdfont: fix build on powerpc
ld: error: ./build/bin/libbirdgems.so: undefined reference to sqrt [--no-allow-shlib-undefined]
-rw-r--r--graphics/birdfont/Makefile1
1 files changed, 1 insertions, 0 deletions
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