@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := php
PKG_VERSION := 7.1.11
PKG_RELEASE := 3
PKG_RELEASE := 4
PKG_MAINTAINER := Michael Heimpold <mhei@heimpold.de>
@ -42,7 +42,7 @@ PHP7_MODULES = \
PKG_CONFIG_DEPENDS := \
$( patsubst %,CONFIG_PACKAGE_php7-mod-%,$( PHP7_MODULES) ) \
CONFIG_PHP7_FILTER CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA
CONFIG_PHP7_FILTER CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA CONFIG_PHP7_LIBFREETYPE
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
@ -142,6 +142,13 @@ define Package/php7-fpm/description
This package contains the FastCGI Process Manager of the PHP7 interpreter.
e n d e f
d e f i n e P a c k a g e / p h p 7 - m o d - g d / c o n f i g
config PHP7_LIBFREETYPE
bool "Enable Freetype 2 support in php7-mod-gd"
depends on PACKAGE_php7-mod-gd
default y
e n d e f
# not everything groks --disable-nls
DISABLE_NLS :=
@ -214,7 +221,6 @@ endif
i f n e q ( $( SDK ) $( CONFIG_PACKAGE_php 7-mod -gd ) , )
CONFIGURE_ARGS += \
--with-gd= shared \
--without-freetype-dir \
--with-jpeg-dir= " $( STAGING_DIR) /usr " \
--with-png-dir= " $( STAGING_DIR) /usr " \
--without-xpm-dir \
@ -223,6 +229,11 @@ ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-gd),)
e l s e
CONFIGURE_ARGS += --without-gd
e n d i f
i f n e q ( $( CONFIG_PHP 7_LIBFREETYPE ) , )
CONFIGURE_ARGS += --with-freetype-dir= " $( STAGING_DIR) "
e l s e
CONFIGURE_ARGS += --without-freetype-dir
e n d i f
i f n e q ( $( SDK ) $( CONFIG_PACKAGE_php 7-mod -gmp ) , )
CONFIGURE_ARGS += --with-gmp= shared," $( STAGING_DIR) /usr "
@ -574,7 +585,7 @@ $(eval $(call BuildModule,dom,DOM,+@PHP7_LIBXML +PACKAGE_php7-mod-dom:libxml2))
$( eval $ ( call BuildModule ,exif ,EXIF ) )
$( eval $ ( call BuildModule ,fileinfo ,Fileinfo ) )
$(eval $(call BuildModule,ftp,FTP,+PACKAGE_php7-mod-ftp : libopenssl ))
$(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php7-mod-gd : libjpeg +PACKAGE_php 7-mod -gd :libpng ))
$(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php7-mod-gd : libjpeg +PACKAGE_php 7-mod -gd :libpng +PHP 7_LIBFREETYPE :libfreetype ))
$(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php7-mod-gettext : libintl -full ))
$(eval $(call BuildModule,gmp,GMP,+PACKAGE_php7-mod-gmp : libgmp ))
$( eval $ ( call BuildModule ,hash ,Hash ) )