summaryrefslogtreecommitdiff
path: root/lang/guile
diff options
context:
space:
mode:
authorjoerg <joerg>2007-06-12 19:49:28 +0000
committerjoerg <joerg>2007-06-12 19:49:28 +0000
commitd3b685668229130143c735c3c94fd55aa863cfda (patch)
tree76fe9f0041fb47a92cdf2fc4d7552fd8fd0ccaa1 /lang/guile
parent2281afa4ef5f0116374f60cabfca529a306b1434 (diff)
downloadpkgsrc-d3b685668229130143c735c3c94fd55aa863cfda.tar.gz
guile's configure script is buggy as it assumes that cexp and clog
are present if the complex.h header exists. csqrt on the contrary is actively checked. For now, disable complex double handling on DragonFly to work around this.
Diffstat (limited to 'lang/guile')
-rw-r--r--lang/guile/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 9d596eb8d7d..8af28ce385a 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2007/06/12 03:02:33 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.74 2007/06/12 19:49:28 joerg Exp $
DISTNAME= guile-1.8.1
CATEGORIES= lang
@@ -41,6 +41,9 @@ post-patch:
echo "(define-module (ice-9 slib))" > ${WRKSRC}/ice-9/slib.scm
echo "(load-from-path \"slib/guile.init\")" >> ${WRKSRC}/ice-9/slib.scm
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= ac_cv_type_complex_double=no
+.endif
.if ${OPSYS} == "Darwin"
CPPFLAGS+= -Dmacosx