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.
This commit is contained in:
dsainty 2010-06-23 03:02:37 +00:00
parent 8cc409cda1
commit 1ec1a68613

View file

@ -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"