Wed Dec 12 15:44:43 2018 UTC ()
lang/php72: drop sqlite3 PKG_OPTIONS

Drop sqlite3 PKG_OPTIONS since sqlite3 is supported by
databases/php-sqlite3 package.


(taca)
diff -r1.11 -r1.12 pkgsrc/lang/php72/Makefile.php

cvs diff -r1.11 -r1.12 pkgsrc/lang/php72/Attic/Makefile.php (expand / switch to unified diff)

--- pkgsrc/lang/php72/Attic/Makefile.php 2018/12/09 12:14:36 1.11
+++ pkgsrc/lang/php72/Attic/Makefile.php 2018/12/12 15:44:43 1.12
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.php,v 1.11 2018/12/09 12:14:36 taca Exp $ 1# $NetBSD: Makefile.php,v 1.12 2018/12/12 15:44:43 taca Exp $
2# used by lang/php72/Makefile 2# used by lang/php72/Makefile
3# used by www/ap-php/Makefile 3# used by www/ap-php/Makefile
4# used by www/php-fpm/Makefile 4# used by www/php-fpm/Makefile
5 5
6# segfaults when buidling with many compilers 6# segfaults when buidling with many compilers
7# https://bugs.php.net/bug.php?id=74527 7# https://bugs.php.net/bug.php?id=74527
8# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 8# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CONFIGURE_ARGS+= --disable-gcc-global-regs 10CONFIGURE_ARGS+= --disable-gcc-global-regs
11.endif 11.endif
12 12
13# the binary actually needs full dep on PCRE 13# the binary actually needs full dep on PCRE
14BUILDLINK_DEPMETHOD.pcre= full 14BUILDLINK_DEPMETHOD.pcre= full
@@ -43,29 +43,29 @@ CONFIGURE_ARGS+= --disable-posix @@ -43,29 +43,29 @@ CONFIGURE_ARGS+= --disable-posix
43CONFIGURE_ARGS+= --disable-opcache 43CONFIGURE_ARGS+= --disable-opcache
44CONFIGURE_ARGS+= --disable-pdo 44CONFIGURE_ARGS+= --disable-pdo
45CONFIGURE_ARGS+= --disable-json 45CONFIGURE_ARGS+= --disable-json
46 46
47CONFIGURE_ARGS+= --enable-cgi 47CONFIGURE_ARGS+= --enable-cgi
48CONFIGURE_ARGS+= --enable-mysqlnd 48CONFIGURE_ARGS+= --enable-mysqlnd
49CONFIGURE_ARGS+= --enable-xml 49CONFIGURE_ARGS+= --enable-xml
50CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} 50CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX}
51.include "../../textproc/libxml2/buildlink3.mk" 51.include "../../textproc/libxml2/buildlink3.mk"
52 52
53CONFIGURE_ARGS+= --with-pcre-regex=${BUILDLINK_PREFIX.pcre} 53CONFIGURE_ARGS+= --with-pcre-regex=${BUILDLINK_PREFIX.pcre}
54 54
55PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} 55PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
56PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 sqlite3 56PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2
57PKG_SUPPORTED_OPTIONS+= disable-filter-url 57PKG_SUPPORTED_OPTIONS+= disable-filter-url
58PKG_SUGGESTED_OPTIONS+= inet6 ssl readline sqlite3 58PKG_SUGGESTED_OPTIONS+= inet6 ssl readline
59 59
60.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" 60.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
61PKG_SUPPORTED_OPTIONS+= dtrace 61PKG_SUPPORTED_OPTIONS+= dtrace
62.endif 62.endif
63 63
64.include "../../mk/bsd.options.mk" 64.include "../../mk/bsd.options.mk"
65 65
66.if !empty(PKG_OPTIONS:Minet6) 66.if !empty(PKG_OPTIONS:Minet6)
67CONFIGURE_ARGS+= --enable-ipv6 67CONFIGURE_ARGS+= --enable-ipv6
68.else 68.else
69CONFIGURE_ARGS+= --disable-ipv6 69CONFIGURE_ARGS+= --disable-ipv6
70.endif 70.endif
71 71
@@ -96,26 +96,19 @@ CONFIGURE_ARGS+= --without-readline @@ -96,26 +96,19 @@ CONFIGURE_ARGS+= --without-readline
96.if !empty(PKG_OPTIONS:Mdtrace) 96.if !empty(PKG_OPTIONS:Mdtrace)
97PLIST.dtrace= yes 97PLIST.dtrace= yes
98CONFIGURE_ARGS+= --enable-dtrace 98CONFIGURE_ARGS+= --enable-dtrace
99 99
100# See https://bugs.php.net/bug.php?id=61268 100# See https://bugs.php.net/bug.php?id=61268
101INSTALL_MAKE_FLAGS+= -r 101INSTALL_MAKE_FLAGS+= -r
102.endif 102.endif
103 103
104.if !empty(PKG_OPTIONS:Margon2) 104.if !empty(PKG_OPTIONS:Margon2)
105CONFIGURE_ARGS+= --with-password-argon2=${BUILDLINK_PREFIX.argon2} 105CONFIGURE_ARGS+= --with-password-argon2=${BUILDLINK_PREFIX.argon2}
106.include "../../security/argon2/buildlink3.mk" 106.include "../../security/argon2/buildlink3.mk"
107.endif 107.endif
108 108
109.if !empty(PKG_OPTIONS:Msqlite3) 
110CONFIGURE_ARGS+= --with-sqlite3=${BUILDLINK_PREFIX.sqlite3} 
111.include "../../databases/sqlite3/buildlink3.mk" 
112.else 
113CONFIGURE_ARGS+= --without-sqlite3 
114.endif 
115 
116.if !empty(PKG_OPTIONS:Mdisable-filter-url) 109.if !empty(PKG_OPTIONS:Mdisable-filter-url)
117CFLAGS+= -DDISABLE_FILTER_URL 110CFLAGS+= -DDISABLE_FILTER_URL
118.endif 111.endif
119 112
120DL_AUTO_VARS= yes 113DL_AUTO_VARS= yes
121.include "../../mk/dlopen.buildlink3.mk" 114.include "../../mk/dlopen.buildlink3.mk"