diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:14 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:14 +0000 |
commit | 6be848837f68fae5c20f48a038e43d791872e856 (patch) | |
tree | ff8c89c0e5a6cb37e365121fda62ea1484c63fe7 /fonts/ms-ttf | |
parent | 468f33326ec23f861877c81fdd136b050dea6349 (diff) | |
download | pkgsrc-6be848837f68fae5c20f48a038e43d791872e856.tar.gz |
Remove mk/find-prefix.mk usage from the fonts 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 'fonts/ms-ttf')
-rw-r--r-- | fonts/ms-ttf/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fonts/ms-ttf/Makefile b/fonts/ms-ttf/Makefile index 2fa39931d34..ebe3c5a3fff 100644 --- a/fonts/ms-ttf/Makefile +++ b/fonts/ms-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2015/07/04 16:18:33 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2015/11/25 12:50:14 jperkin Exp $ DISTNAME= # empty PKGNAME= ms-ttf-20020306 @@ -26,9 +26,7 @@ NO_CONFIGURE= yes NO_BUILD= yes DIST_SUBDIR= ms-ttf -EVAL_PREFIX+= CABEXTRACT_PREFIX=cabextract -CABEXTRACT_PREFIX_DEFAULT=${LOCALBASE} -EXTRACT_CMD= ${CABEXTRACT_PREFIX}/bin/cabextract -q $${extract_file} +EXTRACT_CMD= ${LOCALBASE}/bin/cabextract -q $${extract_file} FONTDIR= ${PREFIX}/share/fonts/X11/TTF DOCDIR= ${PREFIX}/share/doc/ms-ttf FONTS_DIRS.ttf= ${FONTDIR} |