diff options
author | jperkin <jperkin> | 2015-11-25 13:00:43 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 13:00:43 +0000 |
commit | 09c209d98e0f15e17f2c413fc80adb74bc6cd405 (patch) | |
tree | ad3335353442cb59fb5746839decb31687c4607c /multimedia | |
parent | ca2e84b72a7753a60d03d7fac2455134ac749838 (diff) | |
download | pkgsrc-09c209d98e0f15e17f2c413fc80adb74bc6cd405.tar.gz |
Remove mk/find-prefix.mk usage from the multimedia 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.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libvpx/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/multimedia/libvpx/Makefile b/multimedia/libvpx/Makefile index d23200de970..0e531d7e1bd 100644 --- a/multimedia/libvpx/Makefile +++ b/multimedia/libvpx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2015/11/18 14:09:25 ryoon Exp $ +# $NetBSD: Makefile,v 1.62 2015/11/25 13:00:43 jperkin Exp $ DISTNAME= libvpx-1.5.0 CATEGORIES= multimedia @@ -121,9 +121,7 @@ CONFIGURE_ARGS+= --disable-runtime-cpu-detect # Under Solaris 10 its /usr/xpg4/bin/tr is not sufficient. PR pkg/48508 .if !empty(MACHINE_PLATFORM:MSunOS-5.10*) BUILD_DEPENDS= coreutils-[0-9]*:../../sysutils/coreutils -FIND_PREFIX:= GTRDIR=coreutils -.include "../../mk/find-prefix.mk" -TOOLS_PLATFORM.tr= ${GTRDIR}/bin/gtr +TOOLS_PLATFORM.tr= ${LOCALBASE}/bin/gtr .endif BUILD_TARGET= # none |