| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.11 2015/10/17 10:16:35 adam Exp $ | | 1 | # $NetBSD: options.mk,v 1.12 2016/01/31 07:49:23 ryoon Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.apache | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.apache |
4 | PKG_SUPPORTED_OPTIONS= apache-mpm-event apache-mpm-prefork apache-mpm-worker \ | | 4 | PKG_SUPPORTED_OPTIONS= apache-mpm-event apache-mpm-prefork apache-mpm-worker \ |
5 | lua http2 suexec | | 5 | lua http2 suexec |
6 | PKG_SUGGESTED_OPTIONS= apache-mpm-event apache-mpm-prefork \ | | 6 | PKG_SUGGESTED_OPTIONS= apache-mpm-event apache-mpm-prefork \ |
7 | apache-mpm-worker | | 7 | apache-mpm-worker |
8 | | | 8 | |
9 | .if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.1[0-9]) | | 9 | .if ${OPSYS} == "SunOS" && !empty(OS_VERSION:M5.1[0-9]) |
10 | PKG_SUPPORTED_OPTIONS+= privileges | | 10 | PKG_SUPPORTED_OPTIONS+= privileges |
11 | # Disabled until DTrace support is fully implemented/fixed | | 11 | # Disabled until DTrace support is fully implemented/fixed |
12 | #PKG_SUPPORTED_OPTIONS+= dtrace | | 12 | #PKG_SUPPORTED_OPTIONS+= dtrace |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
| @@ -81,26 +81,30 @@ SPECIAL_PERMS+= sbin/suexec ${REAL_ROOT | | | @@ -81,26 +81,30 @@ SPECIAL_PERMS+= sbin/suexec ${REAL_ROOT |
81 | .endif | | 81 | .endif |
82 | | | 82 | |
83 | .if !empty(PKG_OPTIONS:Mhttp2) | | 83 | .if !empty(PKG_OPTIONS:Mhttp2) |
84 | .include "../../www/nghttp2/buildlink3.mk" | | 84 | .include "../../www/nghttp2/buildlink3.mk" |
85 | CONFIGURE_ARGS+= --with-nghttp2 | | 85 | CONFIGURE_ARGS+= --with-nghttp2 |
86 | PLIST.http2= yes | | 86 | PLIST.http2= yes |
87 | .else | | 87 | .else |
88 | CONFIGURE_ARGS+= --without-nghttp2 | | 88 | CONFIGURE_ARGS+= --without-nghttp2 |
89 | .endif | | 89 | .endif |
90 | | | 90 | |
91 | .if !empty(PKG_OPTIONS:Mlua) | | 91 | .if !empty(PKG_OPTIONS:Mlua) |
92 | .include "../../lang/lua/buildlink3.mk" | | 92 | .include "../../lang/lua/buildlink3.mk" |
93 | CONFIGURE_ARGS+= --enable-lua | | 93 | CONFIGURE_ARGS+= --enable-lua |
| | | 94 | CONFIGURE_ARGS+= --with-lua=${PREFIX} |
| | | 95 | BUILDLINK_TRANSFORM+= l:lua-5.1:lua5.1 |
| | | 96 | BUILDLINK_TRANSFORM+= l:lua-5.2:lua5.2 |
| | | 97 | BUILDLINK_TRANSFORM+= l:lua-5.3:lua5.3 |
94 | PLIST.lua= yes | | 98 | PLIST.lua= yes |
95 | .else | | 99 | .else |
96 | CONFIGURE_ARGS+= --disable-lua | | 100 | CONFIGURE_ARGS+= --disable-lua |
97 | .endif | | 101 | .endif |
98 | | | 102 | |
99 | .if !empty(PKG_OPTIONS:Mprivileges) | | 103 | .if !empty(PKG_OPTIONS:Mprivileges) |
100 | CONFIGURE_ARGS+= --enable-privileges | | 104 | CONFIGURE_ARGS+= --enable-privileges |
101 | PLIST.privileges= yes | | 105 | PLIST.privileges= yes |
102 | .endif | | 106 | .endif |
103 | | | 107 | |
104 | # DTrace support is manifest, but actually not implemented at all | | 108 | # DTrace support is manifest, but actually not implemented at all |
105 | #.if !empty(PKG_OPTIONS:Mdtrace) | | 109 | #.if !empty(PKG_OPTIONS:Mdtrace) |
106 | #CONFIGURE_ARGS+= --enable-dtrace | | 110 | #CONFIGURE_ARGS+= --enable-dtrace |