summaryrefslogtreecommitdiff
path: root/graphics/gd/Makefile
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2010-06-23 03:02:37 +0000
committerdsainty <dsainty@pkgsrc.org>2010-06-23 03:02:37 +0000
commite6be07b9e4f8e824fc27e46d114fefe6a123c523 (patch)
treeb4c99af2b92516999f89c572b233d186a81f978a /graphics/gd/Makefile
parentb567bb241183ab70fecf1e3e3726adedcd250397 (diff)
downloadpkgsrc-e6be07b9e4f8e824fc27e46d114fefe6a123c523.tar.gz
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.
Diffstat (limited to 'graphics/gd/Makefile')
-rw-r--r--graphics/gd/Makefile9
1 files changed, 7 insertions, 2 deletions
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"