From ebc554ea5896e30e8540e081b919fbf5a87653d5 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 25 Nov 2015 12:52:26 +0000 Subject: Remove mk/find-prefix.mk usage from the parallel category. The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg. --- parallel/mpi-ch/buildlink3.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'parallel/mpi-ch') diff --git a/parallel/mpi-ch/buildlink3.mk b/parallel/mpi-ch/buildlink3.mk index 542a79f49a8..df9c0788c48 100644 --- a/parallel/mpi-ch/buildlink3.mk +++ b/parallel/mpi-ch/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.17 2013/04/30 06:59:27 asau Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2015/11/25 12:52:26 jperkin Exp $ BUILDLINK_TREE+= mpich @@ -9,8 +9,6 @@ BUILDLINK_API_DEPENDS.mpich+= mpich>=3 BUILDLINK_PKGSRCDIR.mpich?= ../../parallel/mpi-ch MPI_PREFIX?= $(BUILDLINK_PREFIX.mpich) -FIND_PREFIX:= BUILDLINK_PREFIX.mpich=mpich -.include "../../mk/find-prefix.mk" .include "../../parallel/openpa/buildlink3.mk" .endif # MPICH_BUILDLINK3_MK -- cgit v1.2.3