From b67bb1603b1536e6f515f102febcfc187adf7487 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 24 Sep 2002 10:20:06 +0000 Subject: buildlink1 -> buildlink2 --- math/guppi/Makefile | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'math/guppi') diff --git a/math/guppi/Makefile b/math/guppi/Makefile index f8c2bf9b086..1c385e73e79 100644 --- a/math/guppi/Makefile +++ b/math/guppi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/09/10 16:06:45 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2002/09/24 10:20:06 jlam Exp $ DISTNAME= Guppi-0.40.3 PKGNAME= ${DISTNAME:S/G/g/} @@ -11,38 +11,37 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnome.org/guppi/ COMMENT= Plot program with integrated statistics capabilities +.if exists(/usr/include/wctype.h) +# # "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= +# +DEPENDS+= gnumeric>=1.0.9:../../math/gnumeric +CONFIGURE_ARGS= --enable-gnumeric +PLIST_SUBST+= GNUMERIC= .else -CONFIGURE_ARGS= --disable-gnumeric -PLIST_SUBST+= GNUMERIC="@comment " +CONFIGURE_ARGS= --disable-gnumeric +PLIST_SUBST+= GNUMERIC="@comment " .endif -DEPENDS+= guile>=1.4:../../lang/guile +DEPENDS+= guile>=1.4:../../lang/guile -BUILDLINK_DEPENDS.gnome-core= gnome-core>=1.4.0.4nb1 -BUILDLINK_DEPENDS.gdk-pixbuf= gdk-pixbuf>=0.11.0nb1 -BUILDLINK_DEPENDS.gdk-pixbuf-gnome= gdk-pixbuf-gnome>=0.11.0nb1 +USE_BUILDLINK2= YES +USE_X11BASE= YES +USE_GMAKE= YES +GNU_CONFIGURE= YES -GNU_CONFIGURE= YES -USE_GMAKE= YES -USE_LIBTOOL= YES -USE_X11BASE= YES - -LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool PLIST_SUBST+= LOCALBASE=${LOCALBASE} post-install: ${TEST} ${PREFIX} = ${LOCALBASE} || \ ${LN} -fs ${PREFIX}/share/aclocal/libguppi.m4 \ - ${LOCALBASE}/share/aclocal/libguppi.m4 + ${LOCALBASE}/share/aclocal/libguppi.m4 + +.include "../../devel/libglade/buildlink2.mk" +.include "../../devel/readline/buildlink2.mk" +.include "../../x11/gnome-core/buildlink2.mk" -.include "../../devel/libglade/buildlink.mk" -.include "../../devel/readline/buildlink.mk" -.include "../../x11/gnome-core/buildlink.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3