diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-08-20 16:01:34 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-08-20 16:01:34 +0000 |
commit | 8c1b7ced06dd5f3331b00d9f88af1120edddfa99 (patch) | |
tree | 77ed3277d730f3bf64ce0430dc4ee07dd6c5c2f8 /math | |
parent | 1efc5e056df03ad94aa9967f461c1c048d2da3d7 (diff) | |
download | pkgsrc-8c1b7ced06dd5f3331b00d9f88af1120edddfa99.tar.gz |
added a hack to work around the incorrect detection of the absence of exp10
on Darwin
Diffstat (limited to 'math')
-rw-r--r-- | math/yorick/hacks.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/yorick/hacks.mk b/math/yorick/hacks.mk new file mode 100644 index 00000000000..aec55a334c6 --- /dev/null +++ b/math/yorick/hacks.mk @@ -0,0 +1,15 @@ +# $NetBSD: hacks.mk,v 1.1 2006/08/20 16:01:34 schwarz Exp $ + +.if !defined(YORICK_HACKS_MK) +YORICK_HACKS_MK= # defined + +### [Sun Aug 20 17:40:24 CEST 2006 : schwarz] +### when compiling with -ffast-math on Darwin the system thinks that +### libmath contains exp10. +### +.if ${OPSYS} == "Darwin" +PKG_HACKS+= no_exp10 +CPPFLAGS+= -DNO_EXP10 +.endif + +.endif |