diff options
author | jperkin <jperkin> | 2015-11-25 12:53:09 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:53:09 +0000 |
commit | c7f8bfdf7d100fd6dbfb5520c506545b1af11927 (patch) | |
tree | 2eba9599a6d72dd037a53260b72d4dffa69d161f /print/foomatic-ppds-cups | |
parent | 4b89c74851c3c420ccc3b472a9e3485ace63b01c (diff) | |
download | pkgsrc-c7f8bfdf7d100fd6dbfb5520c506545b1af11927.tar.gz |
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.
Diffstat (limited to 'print/foomatic-ppds-cups')
-rw-r--r-- | print/foomatic-ppds-cups/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/print/foomatic-ppds-cups/Makefile b/print/foomatic-ppds-cups/Makefile index 78438369647..730fffab74d 100644 --- a/print/foomatic-ppds-cups/Makefile +++ b/print/foomatic-ppds-cups/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2014/06/18 09:28:51 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2015/11/25 12:53:09 jperkin Exp $ META_PACKAGE= yes @@ -15,8 +15,7 @@ DEPENDS+= foomatic-ppds-${FOOMATIC_PPDS_VERSION}{,nb[0-9]*}:../../print/foomatic WRKSRC= ${WRKDIR} -EVAL_PREFIX+= CUPS_PREFIX=cups -CUPS_DATADIR= ${CUPS_PREFIX:Q}/share/cups/model +CUPS_DATADIR= ${LOCALBASE}/share/cups/model FILES_SUBST+= CUPS_DATADIR=${CUPS_DATADIR} .include "../../mk/bsd.pkg.mk" |