diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
commit | 9f026fc529baa5b8b73fd2c6a8f42ba48af73ded (patch) | |
tree | 86eb059496354ccd274b3fd95c2821669fe397fd /graphics/iGMT | |
parent | 81aa9fa39bed3e3d857ba0c0d2a9c2060c16a212 (diff) | |
download | pkgsrc-9f026fc529baa5b8b73fd2c6a8f42ba48af73ded.tar.gz |
Remove mk/find-prefix.mk usage from the graphics 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 'graphics/iGMT')
-rw-r--r-- | graphics/iGMT/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/iGMT/Makefile b/graphics/iGMT/Makefile index 5a69b090a1c..fef236cbd52 100644 --- a/graphics/iGMT/Makefile +++ b/graphics/iGMT/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2013/04/24 10:06:49 sbd Exp $ +# $NetBSD: Makefile,v 1.35 2015/11/25 12:50:44 jperkin Exp $ DISTNAME= igmt_v1.2 PKGNAME= iGMT-1.2 @@ -20,9 +20,6 @@ WRKSRC= ${WRKDIR}/igmt_1.2 NO_BUILD= yes USE_TOOLS+= gs:run ksh:run -GMT_PREFIX_DEFAULT= ${LOCALBASE} -EVAL_PREFIX+= GMT_PREFIX=GMT -EVAL_PREFIX+= TK_PREFIX=tk REPLACE_KSH= igmt igmt_helper* img2latlongrd.batch @@ -31,8 +28,8 @@ INSTALLATION_DIRS= bin do-configure: for i in ${WRKSRC}/igmt ${WRKSRC}/igmt_configure.tcl; do \ ${SED} -e 's:@PREFIX@:'${PREFIX}':g' \ - -e 's:@GMT_PREFIX@:'${GMT_PREFIX}':g' \ - -e 's:@TK_PREFIX@:'${TK_PREFIX}':g' \ + -e 's:@GMT_PREFIX@:'${LOCALBASE}':g' \ + -e 's:@TK_PREFIX@:'${LOCALBASE}':g' \ $$i > $$i.tmp && ${MV} -f $$i.tmp $$i; \ done |