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 | 611b1b51074b40e0878490964f2e74e120363edf (patch) | |
tree | 3caf68974600f1fce29a923c7122ee85aea03d18 /archivers/jamjar | |
parent | 958de3b6f3440728d7124238c8e32394ef78bad5 (diff) | |
download | pkgsrc-611b1b51074b40e0878490964f2e74e120363edf.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/jamjar')
-rw-r--r-- | archivers/jamjar/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archivers/jamjar/Makefile b/archivers/jamjar/Makefile index 1e21b3f5abe..9e3ad44c53d 100644 --- a/archivers/jamjar/Makefile +++ b/archivers/jamjar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2014/10/09 14:05:52 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2015/11/25 12:47:32 jperkin Exp $ # DISTNAME= jamjar-0.7.1 @@ -13,11 +13,10 @@ BUILD_DEPENDS+= acunia-jam>=1.0:../../devel/acunia-jam WRKSRC= ${WRKDIR}/jamjar -EVAL_PREFIX+= ACUNIA_JAM_PREFIX=acunia-jam JAM_COMMAND= \ cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} \ - ${ACUNIA_JAM_PREFIX}/bin/jam \ + ${LOCALBASE}/bin/jam \ -sPREFIX="${DESTDIR}${PREFIX}" \ -sCFLAGS="${CFLAGS}" |