From 81048221f70dbc095332dffa20a596f7483aa2c5 Mon Sep 17 00:00:00 2001 From: schwarz Date: Sun, 20 Aug 2006 16:01:34 +0000 Subject: added a hack to work around the incorrect detection of the absence of exp10 on Darwin --- math/yorick/hacks.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 math/yorick/hacks.mk (limited to 'math/yorick') 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 -- cgit v1.2.3