diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:49:46 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:49:46 +0000 |
commit | 959195cad49087dbcae665bda19c6dd428dad044 (patch) | |
tree | 7afc9e9eae4138b548ab5438c9e3d57d753222bd /devel/dconf | |
parent | 092b6eea1b58b6633fb74e682110044d6a3d6614 (diff) | |
download | pkgsrc-959195cad49087dbcae665bda19c6dd428dad044.tar.gz |
Remove mk/find-prefix.mk usage from the devel 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 'devel/dconf')
-rw-r--r-- | devel/dconf/database.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/dconf/database.mk b/devel/dconf/database.mk index f759c2ff552..073efb3677b 100644 --- a/devel/dconf/database.mk +++ b/devel/dconf/database.mk @@ -1,4 +1,4 @@ -# $NetBSD: database.mk,v 1.1 2014/05/25 06:06:00 obache Exp $ +# $NetBSD: database.mk,v 1.2 2015/11/25 12:49:46 jperkin Exp $ # # This Makefile fragment is intended to be included by packages that install # dconf database. It takes care of update the corresponding databases @@ -8,9 +8,7 @@ .if !defined(DCONF_DATABASE_MK) DCONF_DATABASE_MK= # defined -EVAL_PREFIX+= BUILDLINK_PREFIX.dconf=dconf - -DCONF= ${BUILDLINK_PREFIX.dconf}/bin/dconf +DCONF= ${LOCALBASE}/bin/dconf FILES_SUBST+= DCONF=${DCONF:Q} INSTALL_TEMPLATES+= ../../devel/dconf/files/database.tmpl |