pkgsrc/devel/apr/buildlink3.mk
2013-04-06 11:06:52 +00:00

27 lines
765 B
Makefile

# $NetBSD: buildlink3.mk,v 1.35 2013/04/06 11:06:52 rodent Exp $
BUILDLINK_TREE+= apr
.if !defined(APR_BUILDLINK3_MK)
APR_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.apr+= apr>=1.2.8
BUILDLINK_ABI_DEPENDS.apr+= apr>=1.4.5nb3
BUILDLINK_PKGSRCDIR.apr?= ../../devel/apr
BUILDLINK_INCDIRS.apr?= include/apr-1
BUILDLINK_FILES.apr+= bin/apr-1-config
BUILDLINK_FILES.apr+= lib/apr.exp
${BUILDLINK_DIR}/bin/apr-config: buildlink-directories
${MKDIR} ${BUILDLINK_DIR}/bin && ${LN} -fs apr-1-config ${BUILDLINK_DIR}/bin/apr-config
buildlink-apr-cookie: ${BUILDLINK_DIR}/bin/apr-config
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.endif # APR_BUILDLINK3_MK
BUILDLINK_TREE+= -apr