diff options
author | jperkin <jperkin> | 2015-11-25 12:51:16 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:51:16 +0000 |
commit | 450df581e064762f7a606b5b9ee5fd9a2c411423 (patch) | |
tree | e339f459af067df609a92f5f7abb15e63c95cd6e /lang/ruby/modules.mk | |
parent | 1d5f7fe5cc80833e968d867383b9f2b06e19b0b5 (diff) | |
download | pkgsrc-450df581e064762f7a606b5b9ee5fd9a2c411423.tar.gz |
Remove mk/find-prefix.mk usage from the lang 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 'lang/ruby/modules.mk')
-rw-r--r-- | lang/ruby/modules.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/ruby/modules.mk b/lang/ruby/modules.mk index 352c1c15e33..0946123052b 100644 --- a/lang/ruby/modules.mk +++ b/lang/ruby/modules.mk @@ -1,4 +1,4 @@ -# $NetBSD: modules.mk,v 1.35 2014/03/13 17:06:42 taca Exp $ +# $NetBSD: modules.mk,v 1.36 2015/11/25 12:51:17 jperkin Exp $ .if !defined(_RUBY_MODULE_MK) _RUBY_MODULE_MK= # defined @@ -205,8 +205,7 @@ BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-rake>=0.8.7:../../devel/ruby-rake # RAKE # The path to the ``rake'' binary. # -EVAL_PREFIX+= RAKE_PREFIX=${RAKE_NAME} -RAKE= ${RAKE_PREFIX}/bin/${RAKE_NAME} +RAKE= ${LOCALBASE}/bin/${RAKE_NAME} MAKE_ENV+= RAKE=${RAKE:Q} .endif |