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.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.21 2009/06/02 15:34:44 gdt Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
.include "../../devel/subversion/Makefile.version"
|
|
|
|
BUILDLINK_TREE+= subversion-base
|
|
|
|
.if !defined(SUBVERSION_BASE_BUILDLINK3_MK)
|
|
SUBVERSION_BASE_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.subversion-base+= subversion-base>=1.5.2nb1
|
|
BUILDLINK_ABI_DEPENDS.subversion-base?= subversion-base>=1.5.6nb1
|
|
BUILDLINK_PKGSRCDIR.subversion-base?= ../../devel/subversion-base
|
|
|
|
BUILDLINK_FILES.subversion-base+= bin/svn-config
|
|
|
|
pkgbase := subversion-base
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Msasl)
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Mapr1)
|
|
. include "../../devel/apr/buildlink3.mk"
|
|
. include "../../devel/apr-util/buildlink3.mk"
|
|
.else
|
|
. include "../../devel/apr0/buildlink3.mk"
|
|
.endif
|
|
|
|
# If serf and -apr1 are selected, the build will probably fail.
|
|
# Do that rather than force neon for apr0
|
|
.if !empty(PKG_BUILD_OPTIONS.subversion-base:Mserf)
|
|
. include "../../www/serf/buildlink3.mk"
|
|
.else
|
|
. include "../../www/neon/buildlink3.mk"
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.4
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.endif # SUBVERSION_BASE_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -subversion-base
|