pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/yorick added a hack to work around the incorrect ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4085ef6936e6
branches:  trunk
changeset: 517712:4085ef6936e6
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sun Aug 20 16:01:34 2006 +0000

description:
added a hack to work around the incorrect detection of the absence of exp10
on Darwin

diffstat:

 math/yorick/hacks.mk |  15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 8242284695ec -r 4085ef6936e6 math/yorick/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/yorick/hacks.mk      Sun Aug 20 16:01:34 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index