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
commit147f8a19b6262496030f41732a253d8ab0536748 (patch)
tree76fe9f0041fb47a92cdf2fc4d7552fd8fd0ccaa1 /lang/guile
parent8d00f98b875d6a33ca89ed24be10fa6b06967727 (diff)
downloadpkgsrc-147f8a19b6262496030f41732a253d8ab0536748.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