summaryrefslogtreecommitdiff
path: root/devel/apr/buildlink3.mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-07 22:32:05 +0000
committerminskim <minskim@pkgsrc.org>2004-03-07 22:32:05 +0000
commitbe7762fedf91f77355436c41bc7c1b62acb78cc1 (patch)
tree1b63d4d57affd8a4e44879e5b5d39f62a1ef409b /devel/apr/buildlink3.mk
parent5dd9242aef6d29d2709a89627f7844c4a56d4997 (diff)
downloadpkgsrc-be7762fedf91f77355436c41bc7c1b62acb78cc1.tar.gz
bl3ify.
Diffstat (limited to 'devel/apr/buildlink3.mk')
-rw-r--r--devel/apr/buildlink3.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/apr/buildlink3.mk b/devel/apr/buildlink3.mk
new file mode 100644
index 00000000000..23de408c4ce
--- /dev/null
+++ b/devel/apr/buildlink3.mk
@@ -0,0 +1,30 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 22:32:05 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+APR_BUILDLINK3_MK:= ${APR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= apr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napr}
+BUILDLINK_PACKAGES+= apr
+
+.if !empty(APR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.apr+= apr>=0.9.5.2.0.48nb1
+BUILDLINK_PKGSRCDIR.apr?= ../../devel/apr
+
+BUILDLINK_FILES.apr+= bin/apr-config
+BUILDLINK_FILES.apr+= bin/apu-config
+BUILDLINK_FILES.apr+= lib/*.exp
+
+.include "../../mk/bsd.prefs.mk"
+.if ${APR_USE_DB4} == "YES"
+.include "../../databases/db4/buildlink3.mk"
+.endif
+
+.include "../../textproc/expat/buildlink3.mk"
+
+.endif # APR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}