28 lines
758 B
Makefile
28 lines
758 B
Makefile
# $NetBSD: options.mk,v 1.14 2014/08/13 09:08:55 adam Exp $
|
|||
|
|||
PKG_OPTIONS_VAR= PKG_OPTIONS.subversion
|
|||
|
PKG_SUPPORTED_OPTIONS= serf sasl
|
||
PKG_SUGGESTED_OPTIONS+= serf
|
|||
|
|||
Explain why options are defined but not used in options.mk (because
it's included in many packages).
|
# 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.
|
|||
Explain why options are defined but not used in options.mk (because
it's included in many packages).
|
|
||
.include "../../mk/bsd.options.mk"
|
|||
|
|||
PLIST_VARS+= serf
|
|||
|
|||
.if !empty(PKG_OPTIONS:Mserf)
|
|||
DAV_RA= serf
|
|||
PLIST.serf= yes
|
|||
BUILDLINK_ABI_DEPENDS.serf+= serf>=1.2.1
|
|||
. include "../../www/serf/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
|