lang/php56: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
d524094dde
commit
0f005e6d42
2 changed files with 26 additions and 26 deletions
|
|
@ -19,7 +19,7 @@ NO_OPTIONS_SORT=yes
|
|||
.if !defined(PKGNAMESUFFIX)
|
||||
USE_AUTOTOOLS= autoconf
|
||||
|
||||
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
||||
LIB_DEPENDS= libpcre.so:devel/pcre
|
||||
|
||||
CONFIGURE_ARGS+=--with-layout=GNU \
|
||||
--localstatedir=/var \
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ CONFIGURE_ARGS+=--enable-ctype
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "curl"
|
||||
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
|
||||
LIB_DEPENDS+= libcurl.so:ftp/curl
|
||||
|
||||
CONFIGURE_ARGS+=--with-curl=${LOCALBASE}
|
||||
.endif
|
||||
|
|
@ -86,8 +86,8 @@ USE_OPENSSL= yes
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "gd"
|
||||
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
||||
libpng.so:${PORTSDIR}/graphics/png
|
||||
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
||||
libpng.so:graphics/png
|
||||
USES+= jpeg
|
||||
|
||||
CONFIGURE_ARGS+=--with-gd \
|
||||
|
|
@ -115,7 +115,7 @@ USES+= gettext
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "gmp"
|
||||
LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp
|
||||
LIB_DEPENDS+= libgmp.so:math/gmp
|
||||
|
||||
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
|
||||
.endif
|
||||
|
|
@ -177,14 +177,14 @@ PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "mcrypt"
|
||||
LIB_DEPENDS+= libltdl.so:${PORTSDIR}/devel/libltdl \
|
||||
libmcrypt.so:${PORTSDIR}/security/libmcrypt
|
||||
LIB_DEPENDS+= libltdl.so:devel/libltdl \
|
||||
libmcrypt.so:security/libmcrypt
|
||||
|
||||
CONFIGURE_ARGS+=--with-mcrypt=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "mssql"
|
||||
LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds
|
||||
LIB_DEPENDS+= libsybdb.so:databases/freetds
|
||||
|
||||
CONFIGURE_ARGS+=--with-mssql=${LOCALBASE}
|
||||
.endif
|
||||
|
|
@ -204,7 +204,7 @@ MYSQLND_DESC= Use MySQL Native Driver
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "odbc"
|
||||
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
||||
LIB_DEPENDS+= libodbc.so:databases/unixODBC
|
||||
|
||||
CONFIGURE_ARGS+=--enable-odbc \
|
||||
--with-unixODBC=${LOCALBASE}
|
||||
|
|
@ -260,7 +260,7 @@ USE_PHP_BUILD= yes
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "pdo_odbc"
|
||||
LIB_DEPENDS+= libodbc.so:${PORTSDIR}/databases/unixODBC
|
||||
LIB_DEPENDS+= libodbc.so:databases/unixODBC
|
||||
CONFIGURE_ARGS+=--with-pdo-odbc=unixODBC,${LOCALBASE}
|
||||
|
||||
USE_PHP= pdo
|
||||
|
|
@ -303,7 +303,7 @@ CONFIGURE_ARGS+=--enable-posix
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "pspell"
|
||||
LIB_DEPENDS+= libaspell.so:${PORTSDIR}/textproc/aspell
|
||||
LIB_DEPENDS+= libaspell.so:textproc/aspell
|
||||
|
||||
CONFIGURE_ARGS+=--with-pspell=${LOCALBASE}
|
||||
|
||||
|
|
@ -318,7 +318,7 @@ USES+= readline
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "recode"
|
||||
LIB_DEPENDS+= librecode.so:${PORTSDIR}/converters/recode
|
||||
LIB_DEPENDS+= librecode.so:converters/recode
|
||||
|
||||
CONFIGURE_ARGS+=--with-recode=${LOCALBASE}
|
||||
.endif
|
||||
|
|
@ -346,7 +346,7 @@ CONFIGURE_ARGS+=--with-snmp=${LOCALBASE} \
|
|||
|
||||
CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no"
|
||||
|
||||
LIB_DEPENDS+= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
|
||||
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
|
||||
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
|
||||
USE_OPENSSL= yes
|
||||
.endif
|
||||
|
|
@ -371,7 +371,7 @@ CONFIGURE_ARGS+=--with-sqlite3=${LOCALBASE}
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "sybase_ct"
|
||||
LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds
|
||||
LIB_DEPENDS+= libct.so:databases/freetds
|
||||
|
||||
CONFIGURE_ARGS+=--with-sybase-ct=${LOCALBASE}
|
||||
.endif
|
||||
|
|
@ -391,7 +391,7 @@ CONFIGURE_ARGS+=--enable-sysvshm
|
|||
.if ${PHP_MODNAME} == "tidy"
|
||||
CONFIGURE_ARGS+=--with-tidy=${LOCALBASE}
|
||||
|
||||
LIB_DEPENDS+= libtidy.so:${PORTSDIR}/www/tidy-lib
|
||||
LIB_DEPENDS+= libtidy.so:www/tidy-lib
|
||||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "tokenizer"
|
||||
|
|
@ -455,7 +455,7 @@ USE_PHP_BUILD= yes
|
|||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "zip"
|
||||
LIB_DEPENDS+= libzip.so:${PORTSDIR}/archivers/libzip
|
||||
LIB_DEPENDS+= libzip.so:archivers/libzip
|
||||
|
||||
CONFIGURE_ARGS+=--enable-zip \
|
||||
--with-zlib-dir=/usr \
|
||||
|
|
@ -480,17 +480,17 @@ USE_BDB= 40+
|
|||
WITH_BDB_HIGHEST= yes
|
||||
. endif
|
||||
. if ${PORT_OPTIONS:MGDBM}
|
||||
LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm
|
||||
LIB_DEPENDS+= libgdbm.so:databases/gdbm
|
||||
|
||||
CONFIGURE_ARGS+=--with-gdbm=${LOCALBASE}
|
||||
. endif
|
||||
. if ${PORT_OPTIONS:MQDBM}
|
||||
LIB_DEPENDS+= libqdbm.so:${PORTSDIR}/databases/qdbm
|
||||
LIB_DEPENDS+= libqdbm.so:databases/qdbm
|
||||
|
||||
CONFIGURE_ARGS+=--with-qdbm=${LOCALBASE}
|
||||
. endif
|
||||
. if ${PORT_OPTIONS:MTOKYO}
|
||||
LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
|
||||
LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet
|
||||
|
||||
CONFIGURE_ARGS+=--with-tcadb=${LOCALBASE}
|
||||
. endif
|
||||
|
|
@ -504,7 +504,7 @@ CONFIGURE_ARGS+=--disable-flatfile
|
|||
|
||||
.if ${PHP_MODNAME} == "gd"
|
||||
. if ${PORT_OPTIONS:MT1LIB}
|
||||
LIB_DEPENDS+= libt1.so:${PORTSDIR}/devel/t1lib
|
||||
LIB_DEPENDS+= libt1.so:devel/t1lib
|
||||
|
||||
CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE}
|
||||
. endif
|
||||
|
|
@ -520,7 +520,7 @@ USE_XORG= xpm
|
|||
CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
|
||||
. endif
|
||||
. if ${PORT_OPTIONS:MVPX}
|
||||
LIB_DEPENDS+= libvpx.so:${PORTSDIR}/multimedia/libvpx
|
||||
LIB_DEPENDS+= libvpx.so:multimedia/libvpx
|
||||
|
||||
CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE}
|
||||
. endif
|
||||
|
|
@ -528,15 +528,15 @@ CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE}
|
|||
|
||||
.if ${PHP_MODNAME} == "imap"
|
||||
. if ${PORT_OPTIONS:MPANDA}
|
||||
LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient
|
||||
LIB_DEPENDS+= libc-client4.so.10:mail/panda-cclient
|
||||
. else
|
||||
LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient
|
||||
LIB_DEPENDS+= libc-client4.so.9:mail/cclient
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${PHP_MODNAME} == "mbstring"
|
||||
. if ${PORT_OPTIONS:MREGEX}
|
||||
LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma5
|
||||
LIB_DEPENDS+= libonig.so:devel/oniguruma5
|
||||
CONFIGURE_ARGS+=--with-onig=${LOCALBASE}
|
||||
. else
|
||||
CONFIGURE_ARGS+=--disable-mbregex
|
||||
|
|
@ -571,9 +571,9 @@ post-extract:
|
|||
|
||||
.if ${PHP_MODNAME} == "pdo_dblib"
|
||||
. if ${PORT_OPTIONS:MMSSQL}
|
||||
LIB_DEPENDS+= libsybdb.so:${PORTSDIR}/databases/freetds
|
||||
LIB_DEPENDS+= libsybdb.so:databases/freetds
|
||||
. else
|
||||
LIB_DEPENDS+= libct.so:${PORTSDIR}/databases/freetds
|
||||
LIB_DEPENDS+= libct.so:databases/freetds
|
||||
. endif
|
||||
.endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue