8bfea209d1
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3546 Bump PKGREVISION of php-gd package. (This fix is for php5 only and I don't know about php4.)
31 lines
996 B
Makefile
31 lines
996 B
Makefile
# $NetBSD: Makefile,v 1.20 2009/10/22 14:37:47 taca Exp $
|
|
|
|
MODNAME= gd
|
|
PKGREVISION= 2
|
|
CATEGORIES+= graphics
|
|
COMMENT= PHP extension for GD graphics library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS= php-gd-[0-9]*
|
|
|
|
# XXX we use bundled GD so that extension is usable also by non-threaded
|
|
# PHP, such as CLI/CGI version or ap-php on Apache 1.x.
|
|
|
|
CONFIGURE_ARGS+= --with-${MODNAME}
|
|
CONFIGURE_ARGS+= --with-jpeg-dir=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ARGS+= --with-png-dir=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ARGS+= --with-freetype-dir=${BUILDLINK_DIR:Q}
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}-native-ttf
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}-jis-conv
|
|
CONFIGURE_ARGS+= --without-t1lib
|
|
|
|
USE_PHP_EXT_PATCHES= yes
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|