Sun Dec 19 14:05:27 2021 UTC ()
lang/php73: replace spaces to tab

Replace spaces to tab in options.mk.


(taca)
diff -r1.1 -r1.2 pkgsrc/lang/php73/options.mk

cvs diff -r1.1 -r1.2 pkgsrc/lang/php73/Attic/options.mk (switch to unified diff)

--- pkgsrc/lang/php73/Attic/options.mk 2021/01/02 10:04:10 1.1
+++ pkgsrc/lang/php73/Attic/options.mk 2021/12/19 14:05:27 1.2
@@ -1,74 +1,74 @@ @@ -1,74 +1,74 @@
1# $NetBSD: options.mk,v 1.1 2021/01/02 10:04:10 taca Exp $ 1# $NetBSD: options.mk,v 1.2 2021/12/19 14:05:27 taca Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} 3PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
4PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed 4PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline argon2 php-embed
5PKG_SUPPORTED_OPTIONS+= disable-filter-url 5PKG_SUPPORTED_OPTIONS+= disable-filter-url
6PKG_SUGGESTED_OPTIONS+= inet6 ssl readline 6PKG_SUGGESTED_OPTIONS+= inet6 ssl readline
7 7
8.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" 8.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
9PKG_SUPPORTED_OPTIONS+= dtrace 9PKG_SUPPORTED_OPTIONS+= dtrace
10.endif 10.endif
11 11
12.include "../../mk/bsd.options.mk" 12.include "../../mk/bsd.options.mk"
13 13
14.if !empty(PKG_OPTIONS:Minet6) 14.if !empty(PKG_OPTIONS:Minet6)
15CONFIGURE_ARGS+= --enable-ipv6 15CONFIGURE_ARGS+= --enable-ipv6
16.else 16.else
17CONFIGURE_ARGS+= --disable-ipv6 17CONFIGURE_ARGS+= --disable-ipv6
18.endif 18.endif
19 19
20.if !empty(PKG_OPTIONS:Mssl) 20.if !empty(PKG_OPTIONS:Mssl)
21. include "../../security/openssl/buildlink3.mk" 21. include "../../security/openssl/buildlink3.mk"
22. if ${OPSYS} == "SunOS" 22. if ${OPSYS} == "SunOS"
23CONFIGURE_ARGS+= --with-openssl=yes 23CONFIGURE_ARGS+= --with-openssl=yes
24LIBS.SunOS+= -lcrypto 24LIBS.SunOS+= -lcrypto
25. else 25. else
26CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} 26CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
27. endif 27. endif
28.else 28.else
29CONFIGURE_ARGS+= --without-openssl 29CONFIGURE_ARGS+= --without-openssl
30.endif 30.endif
31 31
32.if !empty(PKG_OPTIONS:Mmaintainer-zts) 32.if !empty(PKG_OPTIONS:Mmaintainer-zts)
33CONFIGURE_ARGS+= --enable-maintainer-zts 33CONFIGURE_ARGS+= --enable-maintainer-zts
34.endif 34.endif
35 35
36.if !empty(PKG_OPTIONS:Mreadline) 36.if !empty(PKG_OPTIONS:Mreadline)
37.include "../../devel/readline/buildlink3.mk" 37.include "../../devel/readline/buildlink3.mk"
38CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} 38CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
39.else 39.else
40CONFIGURE_ARGS+= --without-readline 40CONFIGURE_ARGS+= --without-readline
41.endif 41.endif
42 42
43.if !empty(PKG_OPTIONS:Mdtrace) 43.if !empty(PKG_OPTIONS:Mdtrace)
44PLIST.dtrace= yes 44PLIST.dtrace= yes
45CONFIGURE_ARGS+= --enable-dtrace 45CONFIGURE_ARGS+= --enable-dtrace
46 46
47# See https://bugs.php.net/bug.php?id=61268 47# See https://bugs.php.net/bug.php?id=61268
48INSTALL_MAKE_FLAGS+= -r 48INSTALL_MAKE_FLAGS+= -r
49.endif 49.endif
50 50
51.if !empty(PKG_OPTIONS:Margon2) 51.if !empty(PKG_OPTIONS:Margon2)
52CONFIGURE_ARGS+= --with-password-argon2=${BUILDLINK_PREFIX.argon2} 52CONFIGURE_ARGS+= --with-password-argon2=${BUILDLINK_PREFIX.argon2}
53.include "../../security/argon2/buildlink3.mk" 53.include "../../security/argon2/buildlink3.mk"
54.endif 54.endif
55 55
56.if !empty(PKG_OPTIONS:Mdisable-filter-url) 56.if !empty(PKG_OPTIONS:Mdisable-filter-url)
57CFLAGS+= -DDISABLE_FILTER_URL 57CFLAGS+= -DDISABLE_FILTER_URL
58.endif 58.endif
59 59
60PLIST_VARS+= embed 60PLIST_VARS+= embed
61 61
62.if !empty(PKGNAME:Mphp-[7-9]*) 62.if !empty(PKGNAME:Mphp-[7-9]*)
63.if !empty(PKG_OPTIONS:Mphp-embed) 63.if !empty(PKG_OPTIONS:Mphp-embed)
64CONFIGURE_ARGS+= --enable-embed 64CONFIGURE_ARGS+= --enable-embed
65INSTALLATION_DIRS+= include/php/sapi/embed 65INSTALLATION_DIRS+= include/php/sapi/embed
66PLIST.embed= yes 66PLIST.embed= yes
67 67
68.PHONY: post-install-embed 68.PHONY: post-install-embed
69post-install: post-install-embed 69post-install: post-install-embed
70post-install-embed: 70post-install-embed:
71 ${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/ 71 ${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/
72 ${INSTALL_LIB} ${WRKSRC}/libs/libphp7.so ${DESTDIR}${PREFIX}/lib/ 72 ${INSTALL_LIB} ${WRKSRC}/libs/libphp7.so ${DESTDIR}${PREFIX}/lib/
73.endif 73.endif
74.endif 74.endif