Skip to content

Commit

Permalink
lang/php71: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Aug 2, 2018
1 parent 7963302 commit b2d00ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lang/php71/Makefile.ext
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down

0 comments on commit b2d00ff

Please sign in to comment.