summaryrefslogtreecommitdiff
path: root/parallel/pvm3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-25 04:20:49 +0000
committerjlam <jlam@pkgsrc.org>2004-03-25 04:20:49 +0000
commit2759edf5c8774bc87531aa366152be9a6c519877 (patch)
treeee4bcdb3397d0cfa140451143c52128412af379f /parallel/pvm3
parentc40fadd982efc8cbc117b707eb0d05104e1c5592 (diff)
downloadpkgsrc-2759edf5c8774bc87531aa366152be9a6c519877.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/+$//}