summaryrefslogtreecommitdiff
path: root/cad/gwave/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:48:18 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:48:18 +0000
commit3da9b3781aa7940196b3e52aa4cb2646c525c7b6 (patch)
treefb1f9823b078ba3f65e35d438b998d40e3db62e6 /cad/gwave/Makefile
parent45524a42f0b5a6d6293940e6ff6da9373a963426 (diff)
downloadpkgsrc-3da9b3781aa7940196b3e52aa4cb2646c525c7b6.tar.gz
Remove mk/find-prefix.mk usage from the cad 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 'cad/gwave/Makefile')
-rw-r--r--cad/gwave/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/cad/gwave/Makefile b/cad/gwave/Makefile
index 4fd7169435b..af7cc479418 100644
--- a/cad/gwave/Makefile
+++ b/cad/gwave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2015/06/12 10:48:26 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2015/11/25 12:48:18 jperkin Exp $
#
DISTNAME= gwave2-20090213
@@ -18,8 +18,7 @@ GNU_CONFIGURE= YES
USE_LIBTOOL= yes
USE_TOOLS+= perl pkg-config
-EVAL_PREFIX+= GRAPHDIR=plotutils
-CONFIGURE_ENV+= GRAPH=${GRAPHDIR}/bin/graph
+CONFIGURE_ENV+= GRAPH=${BUILDLINK_PREFIX.plotutils}/bin/graph
LDFLAGS.DragonFly= -lX11
LDFLAGS.SunOS+= -lX11