summaryrefslogtreecommitdiff
path: root/sysutils/amanda-plot
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-07-30 07:05:54 +0000
committersbd <sbd@pkgsrc.org>2012-07-30 07:05:54 +0000
commit48943856e6a8562fdee02d9c5a8534b65ddf8c68 (patch)
tree1bc884da2af06994091dc720511b3eaa3b1a258c /sysutils/amanda-plot
parentdbf5288a0538189466e951fc3bd05f276dc46265 (diff)
downloadpkgsrc-48943856e6a8562fdee02d9c5a8534b65ddf8c68.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"