From c7f8bfdf7d100fd6dbfb5520c506545b1af11927 Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 25 Nov 2015 12:53:09 +0000 Subject: Remove mk/find-prefix.mk usage from the print 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. --- print/xdvik/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'print/xdvik') diff --git a/print/xdvik/Makefile b/print/xdvik/Makefile index 7db77b74466..acd307c4df0 100644 --- a/print/xdvik/Makefile +++ b/print/xdvik/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2015/10/14 20:17:27 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2015/11/25 12:53:09 jperkin Exp $ DISTNAME= texlive-20150521-source PKGNAME= xdvik-22.87 @@ -32,9 +32,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.guess CONFIG_SUB_OVERRIDE+= ${WRKDIR}/${DISTNAME}/build-aux/config.sub -FIND_PREFIX:= TEX_XDVI_PREFIX=tex-xdvi -.include "../../mk/find-prefix.mk" - CONFIGURE_ARGS+= --with-system-freetype2 CONFIGURE_ARGS+= --with-system-kpathsea CONFIGURE_ARGS+= --with-system-zlib \ -- cgit v1.2.3