summaryrefslogtreecommitdiff
path: root/lang/guile/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-12 19:49:28 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-12 19:49:28 +0000
commit507dca99242fdfb2d80b5f3112e285d2d5fcc153 (patch)
tree76fe9f0041fb47a92cdf2fc4d7552fd8fd0ccaa1 /lang/guile/Makefile
parentf19eca633b347f327675d03af08a28a8cb162106 (diff)
downloadpkgsrc-507dca99242fdfb2d80b5f3112e285d2d5fcc153.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/Makefile')
-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