From 1a15f07c883384c416f055b0427acbdcaa342b06 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 25 Nov 2015 12:54:07 +0000 Subject: Remove mk/find-prefix.mk usage from the www 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. --- www/firefox/mozilla-common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/firefox') diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk index b4f9b5be9f6..04cd28494c2 100644 --- a/www/firefox/mozilla-common.mk +++ b/www/firefox/mozilla-common.mk @@ -1,4 +1,4 @@ -# $NetBSD: mozilla-common.mk,v 1.67 2015/11/08 00:46:22 ryoon Exp $ +# $NetBSD: mozilla-common.mk,v 1.68 2015/11/25 12:54:07 jperkin Exp $ # # common Makefile fragment for mozilla packages based on gecko 2.0. # @@ -21,7 +21,7 @@ test: .include "../../mk/bsd.prefs.mk" # tar(1) of OpenBSD 5.5 has no --exclude command line option. .if ${OPSYS} == "OpenBSD" -TOOLS_PLATFORM.tar= ${TOOLS_PREFIX.bsdtar}/bin/bsdtar +TOOLS_PLATFORM.tar= ${TOOLS_PATH.bsdtar} USE_TOOLS+= bsdtar .endif # GCC 4.6 is required to support nullptr. -- cgit v1.2.3