diff options
author | tron <tron@pkgsrc.org> | 2002-08-12 19:43:20 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-08-12 19:43:20 +0000 |
commit | 03aa4a7cb115866c107fa2be6ae3c48632b9e44c (patch) | |
tree | 265f86929a46cf0bae85042c6483f20d01bb3d6a /math/guppi/Makefile | |
parent | 8064004a9bc2341fe9f1d9f7449b22b0564c2cb2 (diff) | |
download | pkgsrc-03aa4a7cb115866c107fa2be6ae3c48632b9e44c.tar.gz |
The "guppi" package doesn't work with version 0.75 of the "gnumeric"
package. Depend on "gnumeric" 1.0.x on platforms which can build this
package and disable "gnumeric" support on other platforms.
Diffstat (limited to 'math/guppi/Makefile')
-rw-r--r-- | math/guppi/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/math/guppi/Makefile b/math/guppi/Makefile index 20ec8417eec..55b2e87fe0d 100644 --- a/math/guppi/Makefile +++ b/math/guppi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2002/05/15 20:44:15 mjl Exp $ +# $NetBSD: Makefile,v 1.17 2002/08/12 19:43:20 tron Exp $ DISTNAME= Guppi-0.40.3 PKGNAME= ${DISTNAME:S/G/g/} @@ -10,7 +10,18 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnome.org/guppi/ COMMENT= Plot program with integrated statistics capabilities -DEPENDS+= gnumeric>=0.75:../../math/gnumeric0 +# "guppi" only accepts newer versions of the "gnumeric" package which +# cannot be build on all platforms. We only enable "gnumeric" support +# on platforms which can build the "gnumeric" 1.0.x packages. +.if exists(/usr/include/wctype.h) +DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric + +CONFIGURE_ARGS= --enable-gnumeric +PLIST_SUBST+= GNUMERIC= +.else +CONFIGURE_ARGS= --disable-gnumeric +PLIST_SUBST+= GNUMERIC="@comment " +.endif DEPENDS+= guile>=1.4:../../lang/guile BUILDLINK_DEPENDS.gnome-core= gnome-core>=1.4.0.4nb1 |