b8f3a9e9b0
https://bugs.php.net/patch-display.php?bug_id=66901 Bump PKGREVISION for php-gd correspondingly.
29 lines
953 B
Makefile
29 lines
953 B
Makefile
# $NetBSD: Makefile,v 1.36 2014/05/11 11:20:47 he Exp $
|
|
|
|
MODNAME= gd
|
|
CATEGORIES+= graphics
|
|
COMMENT= PHP extension for GD graphics library
|
|
PKGREVISION= 1
|
|
|
|
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 "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../lang/php/ext.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|