summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 13:00:43 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 13:00:43 +0000
commit2ce2ce8165a7519d5bc876babe0477e798d4404c (patch)
treead3335353442cb59fb5746839decb31687c4607c
parentd91ef688976f71a240214d098af8e13e3a18d8e8 (diff)
downloadpkgsrc-2ce2ce8165a7519d5bc876babe0477e798d4404c.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.
-rw-r--r--multimedia/libvpx/Makefile6
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