7d961dd4de
Do not include logic to auto-enable apr1 if the option apache22 is defined because apache22 does not appear to be a valid option. Do not force apr1 if serf is selected. Instead, fail and force the user to choose consistent options. No PKGREVISION because apr1 is the default and the resulting package is unchanged. apr0 support not tested.
31 lines
845 B
Makefile
31 lines
845 B
Makefile
# $NetBSD: options.mk,v 1.10 2009/06/02 15:34:44 gdt Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.subversion
|
|
PKG_SUPPORTED_OPTIONS= apr1 serf sasl
|
|
PKG_SUGGESTED_OPTIONS= apr1
|
|
|
|
# Note that this file is included as part of several packages.
|
|
# Therefore this file defines options and includes some but not all of
|
|
# the typical fragments, leaving some to individual package files.
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= serf neon
|
|
|
|
.if !empty(PKG_OPTIONS:Mserf)
|
|
DAV_RA= serf
|
|
PLIST.serf= yes
|
|
. include "../../www/serf/buildlink3.mk"
|
|
.else
|
|
BUILDLINK_API_DEPENDS.neon+= neon>=0.25.0
|
|
DAV_RA= neon
|
|
PLIST.neon= yes
|
|
. include "../../www/neon/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sasl
|
|
.endif
|