| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.14 2022/03/20 13:37:13 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.15 2022/03/20 15:19:21 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.dbus | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.dbus |
4 | PKG_SUPPORTED_OPTIONS+= debug x11 | | 4 | PKG_SUPPORTED_OPTIONS+= debug x11 |
5 | PKG_SUGGESTED_OPTIONS= x11 | | 5 | PKG_SUGGESTED_OPTIONS= x11 |
6 | | | 6 | |
7 | .if (${OPSYS} == "NetBSD" || \ | | 7 | .if (${OPSYS} == "NetBSD" || \ |
8 | ${OPSYS} == "FreeBSD" || \ | | 8 | ${OPSYS} == "FreeBSD" || \ |
9 | ${OPSYS} == "OpenBSD" || \ | | 9 | ${OPSYS} == "OpenBSD" || \ |
10 | ${OPSYS} == "Darwin" || \ | | 10 | ${OPSYS} == "Darwin" || \ |
11 | ${OPSYS} == "DragonFly") | | 11 | ${OPSYS} == "DragonFly") |
12 | PKG_SUPPORTED_OPTIONS+= kqueue | | 12 | PKG_SUPPORTED_OPTIONS+= kqueue |
13 | PKG_SUGGESTED_OPTIONS+= kqueue | | 13 | PKG_SUGGESTED_OPTIONS+= kqueue |
14 | .endif | | 14 | .endif |
| @@ -25,29 +25,29 @@ CONFIGURE_ARGS+= --enable-asserts | | | @@ -25,29 +25,29 @@ CONFIGURE_ARGS+= --enable-asserts |
25 | CONFIGURE_ARGS+= --enable-verbose-mode | | 25 | CONFIGURE_ARGS+= --enable-verbose-mode |
26 | .else | | 26 | .else |
27 | CONFIGURE_ARGS+= --disable-asserts | | 27 | CONFIGURE_ARGS+= --disable-asserts |
28 | CONFIGURE_ARGS+= --disable-verbose-mode | | 28 | CONFIGURE_ARGS+= --disable-verbose-mode |
29 | .endif | | 29 | .endif |
30 | | | 30 | |
31 | .if !empty(PKG_OPTIONS:Mkqueue) | | 31 | .if !empty(PKG_OPTIONS:Mkqueue) |
32 | CONFIGURE_ARGS+= --enable-kqueue | | 32 | CONFIGURE_ARGS+= --enable-kqueue |
33 | .else | | 33 | .else |
34 | CONFIGURE_ARGS+= --disable-kqueue | | 34 | CONFIGURE_ARGS+= --disable-kqueue |
35 | .endif | | 35 | .endif |
36 | | | 36 | |
37 | .if !empty(PKG_OPTIONS:Mx11) | | 37 | .if !empty(PKG_OPTIONS:Mx11) |
38 | CONFIGURE_ARGS+= --with-x | | 38 | CONFIGURE_ARGS+= --with-x=auto |
| | | 39 | CONFIGURE_ARGS+= --enable-x11-autolaunch |
39 | . include "../../x11/libX11/buildlink3.mk" | | 40 | . include "../../x11/libX11/buildlink3.mk" |
40 | CPPFLAGS+= -DDBUS_BUILD_X11 | | | |
41 | BUILDLINK_DEPMETHOD.libXt= build | | 41 | BUILDLINK_DEPMETHOD.libXt= build |
42 | . include "../../x11/libXt/buildlink3.mk" | | 42 | . include "../../x11/libXt/buildlink3.mk" |
43 | .else | | 43 | .else |
44 | CONFIGURE_ARGS+= --without-x | | 44 | CONFIGURE_ARGS+= --without-x |
45 | .endif | | 45 | .endif |
46 | | | 46 | |
47 | .if !empty(PKG_OPTIONS:Mlaunchd) | | 47 | .if !empty(PKG_OPTIONS:Mlaunchd) |
48 | MESSAGE_SRC+= MESSAGE.launchd | | 48 | MESSAGE_SRC+= MESSAGE.launchd |
49 | PLIST.launchd= yes | | 49 | PLIST.launchd= yes |
50 | CONFIGURE_ARGS+= --enable-launchd | | 50 | CONFIGURE_ARGS+= --enable-launchd |
51 | CONFIGURE_ARGS+= --with-launchd-agent-dir=${PREFIX}/Library/LaunchAgents | | 51 | CONFIGURE_ARGS+= --with-launchd-agent-dir=${PREFIX}/Library/LaunchAgents |
52 | .else | | 52 | .else |
53 | CONFIGURE_ARGS+= --disable-launchd | | 53 | CONFIGURE_ARGS+= --disable-launchd |