1174c5084d
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.
16 lines
379 B
Makefile
16 lines
379 B
Makefile
# $NetBSD: buildlink3.mk,v 1.18 2015/11/25 12:52:26 jperkin Exp $
|
|
|
|
BUILDLINK_TREE+= mpich
|
|
|
|
.if !defined(MPICH_BUILDLINK3_MK)
|
|
MPICH_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.mpich+= mpich>=3
|
|
BUILDLINK_PKGSRCDIR.mpich?= ../../parallel/mpi-ch
|
|
|
|
MPI_PREFIX?= $(BUILDLINK_PREFIX.mpich)
|
|
|
|
.include "../../parallel/openpa/buildlink3.mk"
|
|
.endif # MPICH_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -mpich
|