summaryrefslogtreecommitdiff
path: root/sysutils/amanda-plot
diff options
context:
space:
mode:
authorsbd <sbd>2012-07-30 07:05:54 +0000
committersbd <sbd>2012-07-30 07:05:54 +0000
commite03d79ff1628790644cf5e98e6d6203d7e65c513 (patch)
tree1bc884da2af06994091dc720511b3eaa3b1a258c /sysutils/amanda-plot
parent1f924bb28eb01e9179b5dc808d274e41854e3217 (diff)
downloadpkgsrc-e03d79ff1628790644cf5e98e6d6203d7e65c513.tar.gz
Use find-prefix.mk for the gnuplot prefix.
Diffstat (limited to 'sysutils/amanda-plot')
-rw-r--r--sysutils/amanda-plot/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/amanda-plot/Makefile b/sysutils/amanda-plot/Makefile
index defe53c1189..957ef6e3e24 100644
--- a/sysutils/amanda-plot/Makefile
+++ b/sysutils/amanda-plot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2012/07/30 07:04:29 sbd Exp $
+# $NetBSD: Makefile,v 1.30 2012/07/30 07:05:54 sbd Exp $
#
PKGNAME= amanda-plot-${AMANDA_VERSION}
@@ -14,9 +14,12 @@ DEPENDS+= amanda-server-${AMANDA_VERSION}{,nb[0-9]*}:../../sysutils/amanda-serv
.include "../../sysutils/amanda-common/Makefile.common"
+FIND_PREFIX:= GNUPLOT_PREFIX=gnuplot
+.include "../../mk/find-prefix.mk"
+
CONFIGURE_ARGS+= --without-client
CONFIGURE_ARGS+= --without-restore
CONFIGURE_ARGS+= --without-amrecover
-CONFIGURE_ENV+= GNUPLOT="${LOCALBASE}/bin/gnuplot"
+CONFIGURE_ENV+= GNUPLOT="${GNUPLOT_PREFIX}/bin/gnuplot"
.include "../../mk/bsd.pkg.mk"