summaryrefslogtreecommitdiff
path: root/net/xymon
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:52:11 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:52:11 +0000
commit6e5adcc265b020328aa639aea23b653821a08759 (patch)
tree5cb6802a23448017b27afd4fec095cc3f9645beb /net/xymon
parent841045c79ec12262235519192b12a861c26b9d85 (diff)
downloadpkgsrc-6e5adcc265b020328aa639aea23b653821a08759.tar.gz
Remove mk/find-prefix.mk usage from the net 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 'net/xymon')
-rw-r--r--net/xymon/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/xymon/Makefile b/net/xymon/Makefile
index af664316eb6..a9c6c5f2c59 100644
--- a/net/xymon/Makefile
+++ b/net/xymon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2015/04/25 14:23:48 tnn Exp $
+# $NetBSD: Makefile,v 1.43 2015/11/25 12:52:12 jperkin Exp $
#
DISTNAME= xymon-4.3.17
@@ -90,15 +90,13 @@ MESSAGE_SUBST+= DESTDIR=${DESTDIR}
MESSAGE_SUBST+= EXAMPLEDIR=${EXAMPLEDIR}
MESSAGE_SUBST+= SECCGIDIR=${SECCGIDIR}
-EVAL_PREFIX+= PREFIX.fping=fping
-
CONFIGURE_ARGS+= "--server"
CONFIGURE_ARGS+= "--rrdinclude" "${BUILDLINK_PREFIX.rrdtool}/include"
CONFIGURE_ARGS+= "--rrdlib" "${BUILDLINK_PREFIX.rrdtool}/lib"
CONFIGURE_ARGS+= "--pngconfig" "${BUILDLINK_PREFIX.png}/bin/libpng-config"
CONFIGURE_ARGS+= "--pcreinclude" "${BUILDLINK_PREFIX.pcre}/include"
CONFIGURE_ARGS+= "--pcrelib" "${BUILDLINK_PREFIX.pcre}/lib"
-CONFIGURE_ARGS+= "--fping" "${PREFIX.fping}/sbin/fping"
+CONFIGURE_ARGS+= "--fping" "${LOCALBASE}/sbin/fping"
CONFIGURE_ENV+= USEXYMONPING=n
CONFIGURE_ENV+= XYMONHOSTNAME=${XYMONSERVERNAME:Q}