summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormarino <marino>2012-04-06 12:55:23 +0000
committermarino <marino>2012-04-06 12:55:23 +0000
commit280d600fe642772bda57b329bea43e29b85fac60 (patch)
treeeb69148889204919da0a0b3b1586e5576e3d72d3 /misc
parent6478f9633c72d54ac9fdc192577ceb8a59b3d209 (diff)
downloadpkgsrc-280d600fe642772bda57b329bea43e29b85fac60.tar.gz
misc/kdeutils3: Fix PR#46302 (DragonFly)
The problem with this package is that the configure step is insufficient at determining if the math long double functions are supported. It tests for a couple of functions and assumes that if those test pass, then all "L" functions are supported. When DragonFly recently upgraded its math library by adding support for a number of long double functions, this package started failing. Support for expl, logl, log10l, sinhl, tanhl, acoshl, asinhl, atanhl, and coshl are still missing on *all* BSDs. The fix for the package is to override the configure script by falsely stating that long double is not supported. Only kcalc uses long double so this misconfiguration only has the effect to cause kcalc to use the standard double math functions. FreeBSD almost definitely needs the same Makefile fix. No revbump is needed because pre-libm improved DragonFly releases are configured the same way.
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeutils3/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile
index 92b7eb3c49d..932b6318a71 100644
--- a/misc/kdeutils3/Makefile
+++ b/misc/kdeutils3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2012/03/15 11:53:31 obache Exp $
+# $NetBSD: Makefile,v 1.85 2012/04/06 12:55:23 marino Exp $
DISTNAME= kdeutils-${_KDE_VERSION}
PKGREVISION= 18
@@ -31,6 +31,10 @@ SUBST_SED.tarexe= -e 's:<default>tar</default>:<default>${PREFIX.gtar}/bin/${GNU
CPPFLAGS+= -D__NetBSD_APM__
.endif
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ENV+= ac_cv_c_long_double=no
+.endif
+
CONFIGURE_ARGS+= --with-snmp=no
CONFIGURE_ARGS+= --with-pythondir=${LOCALBASE}
CONFIGURE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}