summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordsainty <dsainty>2010-06-23 03:02:37 +0000
committerdsainty <dsainty>2010-06-23 03:02:37 +0000
commit3ce0bf0df982f7810e966f289aca49bf4ce40400 (patch)
treeb4c99af2b92516999f89c572b233d186a81f978a /graphics
parent575b190364200eb2a7c2ff372a267c81084f4cd6 (diff)
downloadpkgsrc-3ce0bf0df982f7810e966f289aca49bf4ce40400.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')
-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"