diff options
author | jperkin <jperkin> | 2015-11-25 12:53:42 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:53:42 +0000 |
commit | 093e9003c17ee8a64f8d4fcc02b0855e3bdcbb1d (patch) | |
tree | aeadb9ee94a34cf79224e32c000d13b5d09199dc /textproc/xmlcatmgr/catalogs.mk | |
parent | 0341d08cb5c37ecee986eae393687c8250e5bc2b (diff) | |
download | pkgsrc-093e9003c17ee8a64f8d4fcc02b0855e3bdcbb1d.tar.gz |
Remove mk/find-prefix.mk usage from the textproc 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 'textproc/xmlcatmgr/catalogs.mk')
-rw-r--r-- | textproc/xmlcatmgr/catalogs.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/xmlcatmgr/catalogs.mk b/textproc/xmlcatmgr/catalogs.mk index d04f3fa43d9..1a3da181084 100644 --- a/textproc/xmlcatmgr/catalogs.mk +++ b/textproc/xmlcatmgr/catalogs.mk @@ -1,4 +1,4 @@ -# $NetBSD: catalogs.mk,v 1.20 2013/05/10 22:33:55 riastradh Exp $ +# $NetBSD: catalogs.mk,v 1.21 2015/11/25 12:53:42 jperkin Exp $ # # This Makefile fragment is intended to be included by packages that install # catalog files or DTDs. It takes care of registering them into the right @@ -48,8 +48,8 @@ XML_ENTRIES+= nextCatalog ${PREFIX:=${c}} -- # .if !empty(SGML_ENTRIES) || !empty(XML_ENTRIES) FILES_SUBST+= XMLCATMGR=${XMLCATMGR:Q} -FILES_SUBST+= SGML_CATALOG="${XMLCATMGR_PREFIX}/share/sgml/catalog" -FILES_SUBST+= XML_CATALOG="${XMLCATMGR_PREFIX}/share/xml/catalog" +FILES_SUBST+= SGML_CATALOG="${LOCALBASE}/share/sgml/catalog" +FILES_SUBST+= XML_CATALOG="${LOCALBASE}/share/xml/catalog" FILES_SUBST+= SGML_ENTRIES=${SGML_ENTRIES:Q} FILES_SUBST+= XML_ENTRIES=${XML_ENTRIES:Q} INSTALL_TEMPLATES+= ../../textproc/xmlcatmgr/files/install.tmpl |