From b2d00ff1c390a106761a7ed486d95de28b65a097 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 2 Aug 2018 13:12:10 +0200 Subject: [PATCH] lang/php71: sync with upstream Taken from: HardenedBSD --- lang/php71/Makefile.ext | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lang/php71/Makefile.ext b/lang/php71/Makefile.ext index dc60a841413f..7480fe77d4e1 100644 --- a/lang/php71/Makefile.ext +++ b/lang/php71/Makefile.ext @@ -96,12 +96,15 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES+= jpeg -CONFIGURE_ARGS+=--with-gd \ +CONFIGURE_ARGS+=--with-gd=${LOCALBASE} \ --with-freetype-dir=${LOCALBASE} \ --with-jpeg-dir=${LOCALBASE} \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr +EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude libgd \ + php-${PORTVERSION}/ext/gd + OPTIONS_DEFINE=TRUETYPE JIS WEBP X11 OPTIONS_DEFAULT=TRUETYPE X11 @@ -110,7 +113,6 @@ JIS_DESC= Enable JIS-mapped Japanese font support WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support -PHP_HEADER_DIRS=libgd .endif .if ${PHP_MODNAME} == "gettext"