46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.6 2008/01/12 11:36:29 adam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
APR_UTIL_BUILDLINK3_MK:= ${APR_UTIL_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= apr-util
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napr-util}
|
|
BUILDLINK_PACKAGES+= apr-util
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apr-util
|
|
|
|
.if !empty(APR_UTIL_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.2.8
|
|
BUILDLINK_ABI_DEPENDS.apr-util?= apr-util>=1.2.10
|
|
BUILDLINK_PKGSRCDIR.apr-util?= ../../devel/apr-util
|
|
|
|
BUILDLINK_FILES.apr-util+= bin/apu-1-config
|
|
BUILDLINK_FILES.apr-util+= lib/aprutil.exp
|
|
|
|
${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
|
|
.endif # APR_UTIL_BUILDLINK3_MK
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
pkgbase := apr-util
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.apr-util:Mdb4)
|
|
. include "../../databases/db4/buildlink3.mk"
|
|
.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"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|