summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2015-09-07 23:24:46 +0000
committergdt <gdt@pkgsrc.org>2015-09-07 23:24:46 +0000
commit0fe7a07e9ad255c5d721bc51e0902c3a211f0768 (patch)
treee49db48a75877ddfc92531a658df8bd8ad14ed1f /sysutils
parent87cf27dcb745f83d664f59f5c0e13102bead8ba2 (diff)
downloadpkgsrc-0fe7a07e9ad255c5d721bc51e0902c3a211f0768.tar.gz
Remove CONFIGURE_ARGS.enable scheme, in favor of normal
CONFIGURE_ARGS. No functional change intended, so no PKGREVISION++. From David Shao via PR pkg/50075 and private followup.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dbus/Makefile31
-rw-r--r--sysutils/dbus/options.mk22
2 files changed, 24 insertions, 29 deletions
diff --git a/sysutils/dbus/Makefile b/sysutils/dbus/Makefile
index 17c7e921680..944ec4e9cf5 100644
--- a/sysutils/dbus/Makefile
+++ b/sysutils/dbus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2015/08/30 15:08:00 wiz Exp $
+# $NetBSD: Makefile,v 1.87 2015/09/07 23:24:46 gdt Exp $
DISTNAME= dbus-1.10.0
CATEGORIES= sysutils
@@ -37,16 +37,16 @@ CONFIGURE_ARGS_GROUPS= enable disable with without
.if ${OPSYS} == "Darwin"
# Prevent the configure script from picking up a per-user tmp
# directory. See the commit message on revision 1.35
-CONFIGURE_ARGS.with+= session-socket-dir=/tmp
+CONFIGURE_ARGS+= --with-session-socket-dir=/tmp
.endif
-CONFIGURE_ARGS.Linux= abstract-sockets selinux
+CONFIGURE_ARGS+= --without-init-scripts
+CONFIGURE_ARGS+= --disable-ansi
+CONFIGURE_ARGS+= --disable-console-owner-file
+CONFIGURE_ARGS+= --disable-doxygen-docs
+CONFIGURE_ARGS+= --enable-checks
+CONFIGURE_ARGS+= --enable-static
-CONFIGURE_ARGS.without+= init-scripts
-CONFIGURE_ARGS.disable+= ansi
-CONFIGURE_ARGS.disable+= console-owner-file
-CONFIGURE_ARGS.disable+= doxygen-docs
-CONFIGURE_ARGS.enable+= checks static
###
### XXX the spawn test hangs, and some of these tests may be bogus
###
@@ -55,27 +55,20 @@ CONFIGURE_ARGS.enable+= checks static
#TEST_TARGET= check
#.endif
-CONFIGURE_ARGS.with+= dbus-user=${DBUS_USER}
-CONFIGURE_ARGS.with+= test-socket-dir=${WRKDIR:Q}
+CONFIGURE_ARGS+= --with-dbus-user=${DBUS_USER}
+CONFIGURE_ARGS+= --with-test-socket-dir=${WRKDIR:Q}
PTHREAD_AUTO_VARS= yes
.if ${OPSYS} == "Linux"
PLIST.linux= yes
.else
-CONFIGURE_ARGS.disable+=\
- ${CONFIGURE_ARGS.Linux}
+CONFIGURE_ARGS+= --disable-abstract-sockets
+CONFIGURE_ARGS+= --disable-selinux
.endif
PLIST_VARS+= linux launchd
-CONFIGURE_ARGS+=\
- ${CONFIGURE_ARGS_GROUPS:@.g.@ \
- ${CONFIGURE_ARGS.${.g.}:@.a.@ \
- --${.g.}-${.a.} \
- @} \
- @:M*}
-
RCD_SCRIPTS= dbus
PKG_GROUPS_VARS+= DBUS_GROUP
diff --git a/sysutils/dbus/options.mk b/sysutils/dbus/options.mk
index 117f99c2e10..e00c3211165 100644
--- a/sysutils/dbus/options.mk
+++ b/sysutils/dbus/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.8 2015/01/21 13:45:18 pho Exp $
+# $NetBSD: options.mk,v 1.9 2015/09/07 23:24:46 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dbus
PKG_SUPPORTED_OPTIONS+= debug x11
@@ -22,31 +22,33 @@ PKG_SUPPORTED_OPTIONS+= launchd
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS.enable+= asserts verbose-mode
+CONFIGURE_ARGS+= --enable-asserts
+CONFIGURE_ARGS+= --enable-verbose-mode
.else
-CONFIGURE_ARGS.disable+= asserts verbose-mode
+CONFIGURE_ARGS+= --disable-asserts
+CONFIGURE_ARGS+= --disable-verbose-mode
.endif
.if !empty(PKG_OPTIONS:Mkqueue)
-CONFIGURE_ARGS.enable+= kqueue
+CONFIGURE_ARGS+= --enable-kqueue
.else
-CONFIGURE_ARGS.disable+= kqueue
+CONFIGURE_ARGS+= --disable-kqueue
.endif
.if !empty(PKG_OPTIONS:Mx11)
-CONFIGURE_ARGS.with+= x
+CONFIGURE_ARGS+= --with-x
. include "../../x11/libX11/buildlink3.mk"
BUILDLINK_DEPMETHOD.libXt= build
. include "../../x11/libXt/buildlink3.mk"
.else
-CONFIGURE_ARGS.without= x
+CONFIGURE_ARGS= --without-x
.endif
.if !empty(PKG_OPTIONS:Mlaunchd)
MESSAGE_SRC+= MESSAGE.launchd
PLIST.launchd= yes
-CONFIGURE_ARGS.enable+= launchd
-CONFIGURE_ARGS.with+= launchd-agent-dir=${PREFIX}/Library/LaunchAgents
+CONFIGURE_ARGS+= --enable-launchd
+CONFIGURE_ARGS+= --with-launchd-agent-dir=${PREFIX}/Library/LaunchAgents
.else
-CONFIGURE_ARGS.disable+= launchd
+CONFIGURE_ARGS+= --disable-launchd
.endif