summaryrefslogtreecommitdiff
path: root/misc/kdeutils3
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-04-06 12:55:23 +0000
committermarino <marino@pkgsrc.org>2012-04-06 12:55:23 +0000
commit3103cb8044d0d868782cd6e04454ecd7ea3fa456 (patch)
treeeb69148889204919da0a0b3b1586e5576e3d72d3 /misc/kdeutils3
parent1507763e47a6c4b2c915478c657665a84f06b9eb (diff)
downloadpkgsrc-3103cb8044d0d868782cd6e04454ecd7ea3fa456.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/kdeutils3')
-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}