summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordrochner <drochner>2005-08-10 13:46:33 +0000
committerdrochner <drochner>2005-08-10 13:46:33 +0000
commit94558a13a6c7802b0723e5073876c5b31393a73c (patch)
tree79aa89265bf8284446588ed429544f3918ee5dfc /devel
parentc25b5bb72bb14a1c20b5ea3cd22512b183130bd7 (diff)
downloadpkgsrc-94558a13a6c7802b0723e5073876c5b31393a73c.tar.gz
add one
Diffstat (limited to 'devel')
-rw-r--r--devel/py-readline/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/py-readline/buildlink3.mk b/devel/py-readline/buildlink3.mk
new file mode 100644
index 00000000000..d716633c082
--- /dev/null
+++ b/devel/py-readline/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/08/10 13:46:33 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PYREADLINE_BUILDLINK3_MK:= ${PYREADLINE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pyreadline
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyreadline}
+BUILDLINK_PACKAGES+= pyreadline
+
+.if !empty(PYREADLINE_BUILDLINK3_MK:M+)
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_DEPENDS.pyreadline+= ${PYPKGPREFIX}-readline-[0-9]*
+BUILDLINK_PKGSRCDIR.pyreadline?= ../../devel/py-readline
+
+.endif # PYREADLINE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}