Index: Mk/Uses/php.mk =================================================================== --- Mk/Uses/php.mk (revision 419499) +++ Mk/Uses/php.mk (working copy) @@ -278,7 +278,7 @@ . if defined(USE_PHP) && ${USE_PHP:tl} != "yes" # non-version specific components _USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \ - exif fileinfo filter ftp gd gettext gmp \ + enchant exif fileinfo filter ftp gd gettext gmp \ hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \ memcache mysqli odbc opcache \ openssl pcntl pcre pdf pdo pdo_dblib pdo_firebird pdo_mysql \ @@ -305,6 +305,7 @@ dba_DEPENDS= databases/php${PHP_VER}-dba dbase_DEPENDS= databases/php${PHP_VER}-dbase dom_DEPENDS= textproc/php${PHP_VER}-dom +enchant_DEPENDS= textproc/php${PHP_VER}-enchant exif_DEPENDS= graphics/php${PHP_VER}-exif fileinfo_DEPENDS= sysutils/php${PHP_VER}-fileinfo filter_DEPENDS= security/php${PHP_VER}-filter Index: lang/php55/Makefile.ext =================================================================== --- lang/php55/Makefile.ext (revision 419499) +++ lang/php55/Makefile.ext (working copy) @@ -60,6 +60,11 @@ USE_GNOME= libxml2 .endif +.if ${PHP_MODNAME} == "enchant" +LIB_DEPENDS+= libenchant.so:textproc/enchant +CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} +.endif + .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif Index: lang/php55-extensions/Makefile =================================================================== --- lang/php55-extensions/Makefile (revision 419499) +++ lang/php55-extensions/Makefile (working copy) @@ -14,7 +14,7 @@ IGNORE_WITH_PHP=56 70 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ - DOM EXIF FILEINFO FILTER FTP GD GETTEXT \ + DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \ GMP HASH ICONV IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ MSSQL MYSQL MYSQLI \ ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \ @@ -31,6 +31,7 @@ CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support +ENCHANT_DESC= Enchant spelling support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support Index: lang/php56/Makefile.ext =================================================================== --- lang/php56/Makefile.ext (revision 419499) +++ lang/php56/Makefile.ext (working copy) @@ -60,6 +60,11 @@ USE_GNOME= libxml2 .endif +.if ${PHP_MODNAME} == "enchant" +LIB_DEPENDS+= libenchant.so:textproc/enchant +CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} +.endif + .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif Index: lang/php56-extensions/Makefile =================================================================== --- lang/php56-extensions/Makefile (revision 419499) +++ lang/php56-extensions/Makefile (working copy) @@ -31,6 +31,7 @@ CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support +ENCHANT_DESC= Enchant spelling support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support Index: lang/php70/Makefile.ext =================================================================== --- lang/php70/Makefile.ext (revision 419499) +++ lang/php70/Makefile.ext (working copy) @@ -60,6 +60,11 @@ USE_GNOME= libxml2 .endif +.if ${PHP_MODNAME} == "enchant" +LIB_DEPENDS+= libenchant.so:textproc/enchant +CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} +.endif + .if ${PHP_MODNAME} == "exif" CONFIGURE_ARGS+=--enable-exif .endif Index: lang/php70-extensions/Makefile =================================================================== --- lang/php70-extensions/Makefile (revision 419499) +++ lang/php70-extensions/Makefile (working copy) @@ -14,7 +14,7 @@ IGNORE_WITH_PHP= 55 56 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \ - DOM EXIF FILEINFO FILTER FTP GD GETTEXT \ + DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \ GMP HASH ICONV INTL IMAP INTERBASE JSON LDAP MBSTRING MCRYPT \ MYSQLI \ ODBC OPCACHE OPENSSL PCNTL PDF PDO PDO_DBLIB PDO_FIREBIRD \ @@ -31,6 +31,7 @@ CURL_DESC= CURL support DBA_DESC= dba support DOM_DESC= DOM support +ENCHANT_DESC= Enchant spelling support EXIF_DESC= EXIF support FILEINFO_DESC= fileinfo support FILTER_DESC= input filter support