summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/mpi-ch/buildlink3.mk')
-rw-r--r--parallel/mpi-ch/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/parallel/mpi-ch/buildlink3.mk b/parallel/mpi-ch/buildlink3.mk
index 154d9a90f45..fb07a2cccd0 100644
--- a/parallel/mpi-ch/buildlink3.mk
+++ b/parallel/mpi-ch/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.12 2008/05/29 20:27:47 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 19:25:13 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-MPICH2_BUILDLINK3_MK:= ${MPICH2_BUILDLINK3_MK}+
+BUILDLINK_TREE+= mpich2
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= mpich2
-.endif
+.if !defined(MPICH2_BUILDLINK3_MK)
+MPICH2_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpich2}
-BUILDLINK_PACKAGES+= mpich2
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpich2
-
-.if !empty(MPICH2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpich2+= mpich2>=1.0.7
BUILDLINK_PKGSRCDIR.mpich2?= ../../parallel/mpi-ch
BUILDLINK_DEPMETHOD.mpich2?= build
-.endif # MPICH2_BUILDLINK3_MK
+.endif # MPICH2_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -mpich2