summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parallel/pvm3/buildlink3.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/parallel/pvm3/buildlink3.mk b/parallel/pvm3/buildlink3.mk
index 0331500c268..8f5669f1ee8 100644
--- a/parallel/pvm3/buildlink3.mk
+++ b/parallel/pvm3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2004/03/05 19:25:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2004/03/25 04:20:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PVM_BUILDLINK3_MK:= ${PVM_BUILDLINK3_MK}+
@@ -13,6 +13,11 @@ BUILDLINK_PACKAGES+= pvm
.if !empty(PVM_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.pvm+= pvm>=3.4.3
BUILDLINK_PKGSRCDIR.pvm?= ../../parallel/pvm3
+
+. include "${BUILDLINK_PKGSRCDIR.pvm}/arch.mk"
+BUILDLINK_INCDIRS.pvm?= pvm3/include
+BUILDLINK_LIBDIRS.pvm?= pvm3/lib/${PVM_ARCH}
+
.endif # PVM_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}