2020-01-18 22:47:57 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.19 2020/01/18 21:48:02 jperkin Exp $
|
2007-01-24 20:37:20 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= apr-util
|
2007-01-24 20:37:20 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(APR_UTIL_BUILDLINK3_MK)
|
|
|
|
APR_UTIL_BUILDLINK3_MK:=
|
2007-01-24 20:37:20 +01:00
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.2.8
|
2020-01-18 22:47:57 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.apr-util+= apr-util>=1.6.1nb6
|
2018-01-07 14:03:53 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.apr-util?= ../../devel/apr-util
|
2007-01-24 20:37:20 +01:00
|
|
|
|
|
|
|
BUILDLINK_FILES.apr-util+= bin/apu-1-config
|
|
|
|
BUILDLINK_FILES.apr-util+= lib/aprutil.exp
|
|
|
|
|
2007-06-30 17:04:55 +02:00
|
|
|
${BUILDLINK_DIR}/bin/apu-config: buildlink-directories
|
|
|
|
${MKDIR} ${BUILDLINK_DIR}/bin && ${LN} -fs apu-1-config ${BUILDLINK_DIR}/bin/apu-config
|
|
|
|
|
|
|
|
buildlink-apr-util-cookie: ${BUILDLINK_DIR}/bin/apu-config
|
|
|
|
|
2007-01-24 20:37:20 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
2007-05-30 10:54:28 +02:00
|
|
|
pkgbase := apr-util
|
|
|
|
.include "../../mk/pkg-build-options.mk"
|
2007-01-24 20:37:20 +01:00
|
|
|
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
|
2010-06-02 15:14:47 +02:00
|
|
|
BDB_ACCEPTED?= db4 db5
|
|
|
|
. include "../../mk/bdb.buildlink3.mk"
|
2007-01-24 20:37:20 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mldap)
|
|
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/apr/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # APR_UTIL_BUILDLINK3_MK
|
2007-01-24 20:37:20 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -apr-util
|