diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
commit | 9f026fc529baa5b8b73fd2c6a8f42ba48af73ded (patch) | |
tree | 86eb059496354ccd274b3fd95c2821669fe397fd /graphics/tex-epstopdf | |
parent | 81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212 (diff) | |
download | pkgsrc-9f026fc529baa5b8b73fd2c6a8f42ba48af73ded.tar.gz |
Remove mk/find-prefix.mk usage from the graphics 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 'graphics/tex-epstopdf')
-rw-r--r-- | graphics/tex-epstopdf/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/tex-epstopdf/Makefile b/graphics/tex-epstopdf/Makefile index d44519c1cf4..e9346da50a5 100644 --- a/graphics/tex-epstopdf/Makefile +++ b/graphics/tex-epstopdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2015/06/12 10:50:13 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2015/11/25 12:50:44 jperkin Exp $ DISTNAME= epstopdf PKGNAME= tex-${DISTNAME}-2.23 @@ -10,7 +10,6 @@ COMMENT= Convert EPS to 'encapsulated' PDF using Ghostscript CONFLICTS= texlive-pdftools<2011 -EVAL_PREFIX+= KPSEWHICH_PREFIX=kpathsea USE_TOOLS+= gs:run perl:run REPLACE_PERL= bin/epstopdf @@ -20,7 +19,7 @@ SUBST_MESSAGE.paths= Setting paths to commands. SUBST_STAGE.paths= pre-configure SUBST_FILES.paths= bin/epstopdf SUBST_SED.paths+= -e 's,@GHOSTSCRIPT@,${TOOLS_PATH.gs},g' -SUBST_SED.paths+= -e 's,@KPSEWHICH@,${KPSEWHICH_PREFIX}/bin/kpsewhich,g' +SUBST_SED.paths+= -e 's,@KPSEWHICH@,${LOCALBASE}/bin/kpsewhich,g' INSTALLATION_DIRS= bin TEX_TEXMF_DIRS= # empty |