diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:47:32 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:47:32 +0000 |
commit | f846bf1141fe294eae944f234022576916cbf8e9 (patch) | |
tree | 3caf68974600f1fce29a923c7122ee85aea03d18 /archivers/ruby-xz | |
parent | d3465025631a4e952c173265be09d9f1d91964cf (diff) | |
download | pkgsrc-f846bf1141fe294eae944f234022576916cbf8e9.tar.gz |
Remove mk/find-prefix.mk usage from the archivers 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 'archivers/ruby-xz')
-rw-r--r-- | archivers/ruby-xz/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/archivers/ruby-xz/Makefile b/archivers/ruby-xz/Makefile index 54ce8a05e67..7b14683d9bf 100644 --- a/archivers/ruby-xz/Makefile +++ b/archivers/ruby-xz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2015/05/31 15:21:44 taca Exp $ +# $NetBSD: Makefile,v 1.12 2015/11/25 12:47:32 jperkin Exp $ DISTNAME= ruby-xz-0.2.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} @@ -13,12 +13,10 @@ DEPENDS+= xz-[0-9]*:../../archivers/xz DEPENDS+= ${RUBY_PKGPREFIX}-ffi-[0-9]*:../../devel/ruby-ffi DEPENDS+= ${RUBY_PKGPREFIX}-io-like-[0-9]*:../../devel/ruby-io-like -EVAL_PREFIX+= XZ_PREFIX=xz - SUBST_CLASSES+= path SUBST_STAGE.path= pre-configure SUBST_FILES.path= lib/xz/lib_lzma.rb -SUBST_SED.path= -e "s,@LOCALBASE@,${XZ_PREFIX},g" +SUBST_SED.path+= -e "s,@LOCALBASE@,${LOCALBASE},g" SUBST_SED.path+= -e "s,@SHLIB_EXT@,${RUBY_SLEXT},g" .include "../../lang/ruby/gem.mk" |