From c7e324c4f643d3922f0f59b59cd9818342fb9c09 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Fri, 23 Apr 2021 19:24:23 +0200 Subject: calc: Fix build against musl --- science/calc/BUILD | 5 +++++ science/calc/HISTORY | 1 + 2 files changed, 6 insertions(+) (limited to 'science') diff --git a/science/calc/BUILD b/science/calc/BUILD index ede25e812b..88ea4ef449 100755 --- a/science/calc/BUILD +++ b/science/calc/BUILD @@ -1,3 +1,8 @@ +case "$HOST" in + (*-musl) + OPTS+=' HAVE_FPOS=-DHAVE_NO_FPOS' + ;; +esac && make -j1 $OPTS \ DEBUG= \ EXTRA_CFLAGS="$CFLAGS" \ diff --git a/science/calc/HISTORY b/science/calc/HISTORY index dfe491f5c1..0f6a3f0ed6 100644 --- a/science/calc/HISTORY +++ b/science/calc/HISTORY @@ -2,6 +2,7 @@ * DETAILS: updated spell to 2.13.0.1 * DEPENDS, BUILD: fixed handling of flags and dependencies * PRE_BUILD: removed, no longer needed + * BUILD: fixed build against musl 2015-05-25 Thomas Orgis * DETAILS: remove SOURCEFORGE_URL usage (automated) -- cgit v1.2.3