Only check PKG_BUILD_OPTIONS.apr-util if apr1 option is enabled. No

change to default build.
This commit is contained in:
gdt 2009-06-02 19:48:34 +00:00
parent 14362c9815
commit 4e730d2a2e

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.65 2009/06/02 15:34:44 gdt Exp $
# $NetBSD: Makefile,v 1.66 2009/06/02 19:48:34 gdt Exp $
PKGNAME= subversion-base-${SVNVER}
COMMENT= Version control system, base programs and libraries
@ -37,7 +37,7 @@ BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.4
.include "../../devel/zlib/buildlink3.mk"
PLIST_VARS+= db4
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
.if !empty(PKG_OPTIONS:Mapr1) && !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
PLIST.db4= yes
.else
CONFIGURE_ARGS+= --without-berkeley-db