summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-25 04:20:49 +0000
committerjlam <jlam>2004-03-25 04:20:49 +0000
commit920fc93a11c9d9e044f8a0e1c0398d441761fdb4 (patch)
treeee4bcdb3397d0cfa140451143c52128412af379f /parallel/pvm3
parent9c42f4cba61cbd97b1e0683074e13f69eada9472 (diff)
downloadpkgsrc-920fc93a11c9d9e044f8a0e1c0398d441761fdb4.tar.gz
Tell the buildlink3 framework to pass the pvm3/* directories to the compiler
and linker since they lie outside the default of ${PREFIX}/include and ${PREFIX}/lib.
Diffstat (limited to 'parallel/pvm3')
-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/+$//}