summaryrefslogtreecommitdiff
path: root/sysutils/rsnapshot/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:53:29 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:53:29 +0000
commitca5a9fcc8164c96d5dcbb448c9c8b89970718111 (patch)
tree53258673764284e9aa19e677935e4d88d7294ef0 /sysutils/rsnapshot/Makefile
parent3fa7525efe78486bc3b3e6fe694f932e46803e02 (diff)
downloadpkgsrc-ca5a9fcc8164c96d5dcbb448c9c8b89970718111.tar.gz
Remove mk/find-prefix.mk usage from the sysutils 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 'sysutils/rsnapshot/Makefile')
-rw-r--r--sysutils/rsnapshot/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sysutils/rsnapshot/Makefile b/sysutils/rsnapshot/Makefile
index 2ba5241de10..17bc060ee91 100644
--- a/sysutils/rsnapshot/Makefile
+++ b/sysutils/rsnapshot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2015/06/12 10:51:17 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2015/11/25 12:53:29 jperkin Exp $
DISTNAME= rsnapshot-1.3.1
PKGREVISION= 5
@@ -24,12 +24,9 @@ DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
CONF_FILES+= ${EGDIR}/rsnapshot.conf.default \
${PKG_SYSCONFDIR}/rsnapshot.conf
-FIND_PREFIX:= RSYNCDIR=rsync
-.include "../../mk/find-prefix.mk"
-
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
-CONFIGURE_ARGS+= --with-rsync=${RSYNCDIR}/bin/rsync
+CONFIGURE_ARGS+= --with-rsync=${LOCALBASE}/bin/rsync
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${DOCDIR} ${EGDIR}