summaryrefslogtreecommitdiff
path: root/misc/kdeutils3/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:54 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:54 +0000
commit841045c79ec12262235519192b12a861c26b9d85 (patch)
treee30715a2de1b38f278666cde009981d2db784bc2 /misc/kdeutils3/Makefile
parentf31db4a625bf8a261f8b13e0d97caf0c58fa4f3e (diff)
downloadpkgsrc-841045c79ec12262235519192b12a861c26b9d85.tar.gz
Remove mk/find-prefix.mk usage from the misc 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 'misc/kdeutils3/Makefile')
-rw-r--r--misc/kdeutils3/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile
index 03206c9717c..5c931de937c 100644
--- a/misc/kdeutils3/Makefile
+++ b/misc/kdeutils3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2015/04/25 14:23:34 tnn Exp $
+# $NetBSD: Makefile,v 1.108 2015/11/25 12:51:54 jperkin Exp $
DISTNAME= kdeutils-${_KDE_VERSION}
PKGREVISION= 36
@@ -12,16 +12,13 @@ COMMENT= Utilities for the KDE integrated X11 desktop
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:Q}
-DEPENDS+= gtar-base>=1.13.25:../../archivers/gtar-base
-
-EVAL_PREFIX+= PREFIX.gtar=gtar
-PREFIX.gtar_DEFAULT= ${LOCALBASE}
+USE_TOOLS+= gtar:run
SUBST_CLASSES+= tarexe
SUBST_STAGE.tarexe= pre-configure
SUBST_MESSAGE.tarexe= Use GNU tar in ark
SUBST_FILES.tarexe= ark/ark.kcfg
-SUBST_SED.tarexe= -e 's:<default>tar</default>:<default>${PREFIX.gtar}/bin/gtar</default>:'
+SUBST_SED.tarexe= -e 's:<default>tar</default>:<default>${TOOLS_PATH.gtar}</default>:'
.include "../../mk/bsd.prefs.mk"