From e6be07b9e4f8e824fc27e46d114fefe6a123c523 Mon Sep 17 00:00:00 2001 From: dsainty Date: Wed, 23 Jun 2010 03:02:37 +0000 Subject: Make sure configure doesn't find an old (possibly non-Pkgsrc) libpng12-config executable. If it does, it will override the Pkgsrc version, but fail to configure, and fail to build in PNG support. Bump PKGREVISION - previous revision may install for some without PNG APIs intact. --- graphics/gd/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'graphics/gd/Makefile') diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile index ef00353e99b..5505987e6c0 100644 --- a/graphics/gd/Makefile +++ b/graphics/gd/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.83 2010/06/13 22:44:30 wiz Exp $ +# $NetBSD: Makefile,v 1.84 2010/06/23 03:02:37 dsainty Exp $ DISTNAME= gd-2.0.35 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://www.libgd.org/releases/ EXTRACT_SUFX= .tar.bz2 @@ -25,6 +25,11 @@ GNU_CONFIGURE= yes REPLACE_PERL+= bdftogd PTHREAD_AUTO_VARS= yes +# Make sure configure doesn't find an old (possibly non-Pkgsrc) +# libpng12-config executable. If it does, it will override the Pkgsrc +# version, but fail to configure, and fail to build in PNG support. +CONFIGURE_ENV+= ac_cv_path_LIBPNG12_CONFIG="" + .include "../../devel/zlib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" -- cgit v1.2.3