summaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rwxr-xr-xscience/calc/BUILD5
-rw-r--r--science/calc/HISTORY1
2 files changed, 6 insertions, 0 deletions
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 <sobukus@sourcemage.org>
* DETAILS: remove SOURCEFORGE_URL usage (automated)