diff options
author | jperkin <jperkin> | 2015-11-25 12:50:14 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:50:14 +0000 |
commit | 1ab4c4a8602c5cd8b3da64aaf88fd2f2b9a79f04 (patch) | |
tree | ff8c89c0e5a6cb37e365121fda62ea1484c63fe7 /fonts/vfontcap-kochi | |
parent | 00219dde58f72a0e03c275c751c98eafd4d711e3 (diff) | |
download | pkgsrc-1ab4c4a8602c5cd8b3da64aaf88fd2f2b9a79f04.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/vfontcap-kochi')
-rw-r--r-- | fonts/vfontcap-kochi/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fonts/vfontcap-kochi/Makefile b/fonts/vfontcap-kochi/Makefile index aa79fb8e356..aab60d3e023 100644 --- a/fonts/vfontcap-kochi/Makefile +++ b/fonts/vfontcap-kochi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2014/06/01 16:37:16 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2015/11/25 12:50:15 jperkin Exp $ DISTNAME= vfontcap-kochi-0.0 PKGREVISION= 4 @@ -15,8 +15,6 @@ DEPENDS+= kochi-ttf-[0-9]*:../../fonts/kochi-ttf WRKSRC= ${WRKDIR} NO_BUILD= yes -EVAL_PREFIX+= KOCHI_TTF_PREFIX=kochi-ttf - VFONTCAPDIR= share/VFlib/2.24.2 FILES_SUBST+= VFONTCAPDIR=${VFONTCAPDIR} MESSAGE_SUBST+= VFONTCAPDIR=${VFONTCAPDIR} @@ -25,7 +23,7 @@ PLIST_SUBST+= VFONTCAPDIR=${VFONTCAPDIR} INSTALLATION_DIRS= ${VFONTCAPDIR} do-configure: - ${SED} -e "s,@KOCHI_TTF_PREFIX@,${KOCHI_TTF_PREFIX},g" \ + ${SED} -e "s,@KOCHI_TTF_PREFIX@,${LOCALBASE},g" \ ${FILESDIR}/vfontcap > ${WRKSRC}/vfontcap do-install: |