diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-06-18 23:21:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-06-18 23:21:59 +0000 |
commit | 5a297c8052c40e35bd3cb6347a474d6b045ec2bf (patch) | |
tree | 3110d38c1a37d3fcfdf2447895475735f5e1969a /lang | |
parent | c9398312a381b1095f15260abe6c1ebe3f8e63cc (diff) | |
download | ports-5a297c8052c40e35bd3cb6347a474d6b045ec2bf.tar.gz ports-5a297c8052c40e35bd3cb6347a474d6b045ec2bf.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php5/Makefile.ext | 5 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index b1836720a42e..5490e2fe2342 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -304,7 +304,12 @@ USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_sqlite" +. if defined(WITH_SQLITE_PORT) +USE_SQLITE= yes +CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} +. else CONFIGURE_ARGS+=--with-pdo-sqlite +. endif USE_PHP= pdo USE_PHP_BUILD= yes diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index b1836720a42e..5490e2fe2342 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -304,7 +304,12 @@ USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "pdo_sqlite" +. if defined(WITH_SQLITE_PORT) +USE_SQLITE= yes +CONFIGURE_ARGS+=--with-pdo-sqlite=${LOCALBASE} +. else CONFIGURE_ARGS+=--with-pdo-sqlite +. endif USE_PHP= pdo USE_PHP_BUILD= yes |