View | Details | Raw Unified | Return to bug 217222 | Differences between
and this patch

Collapse All | Expand All

(-)lang/php70/Makefile.ext (-2 / +5 lines)
Lines 94-105 Link Here
94
		libpng.so:graphics/png
94
		libpng.so:graphics/png
95
USES+=		jpeg
95
USES+=		jpeg
96
96
97
CONFIGURE_ARGS+=--with-gd \
97
CPPFLAGS+=	-UHAVE_GD_BUNDLED
98
CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \
98
		--with-freetype-dir=${LOCALBASE} \
99
		--with-freetype-dir=${LOCALBASE} \
99
		--with-jpeg-dir=${LOCALBASE} \
100
		--with-jpeg-dir=${LOCALBASE} \
100
		--with-png-dir=${LOCALBASE} \
101
		--with-png-dir=${LOCALBASE} \
101
		--with-zlib-dir=/usr
102
		--with-zlib-dir=/usr
102
103
104
EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude libgd \
105
		php-${PORTVERSION}/ext/gd
106
103
OPTIONS_DEFINE=	T1LIB TRUETYPE JIS X11 VPX
107
OPTIONS_DEFINE=	T1LIB TRUETYPE JIS X11 VPX
104
OPTIONS_DEFAULT=T1LIB TRUETYPE X11
108
OPTIONS_DEFAULT=T1LIB TRUETYPE X11
105
109
Lines 109-115 Link Here
109
X11_DESC=	Enable XPM support
113
X11_DESC=	Enable XPM support
110
VPX_DESC=	Enable VP8 codec support
114
VPX_DESC=	Enable VP8 codec support
111
115
112
PHP_HEADER_DIRS=libgd
113
.endif
116
.endif
114
117
115
.if ${PHP_MODNAME} == "gettext"
118
.if ${PHP_MODNAME} == "gettext"
(-)graphics/php70-gd/Makefile (+5 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
CATEGORIES=	graphics
4
CATEGORIES=	graphics
5
PORTREVISION=	1
5
6
6
MASTERDIR=	${.CURDIR}/../../lang/php70
7
MASTERDIR=	${.CURDIR}/../../lang/php70
7
8
9
LIB_DEPENDS+=	gd:graphics/gd
10
8
PKGNAMESUFFIX=	-gd
11
PKGNAMESUFFIX=	-gd
9
12
13
TEST_TARGET=	test
14
10
.include "${MASTERDIR}/Makefile"
15
.include "${MASTERDIR}/Makefile"

Return to bug 217222