summaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:54:07 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:54:07 +0000
commitd43a6c97ef534364ce84fffd7755953714ab10c2 (patch)
tree0831868f640a00b03f9735154dc4a2a571696079 /www/w3m
parentef25a73b60bfc9c1e1c610f6cfd1855e2d02f79e (diff)
downloadpkgsrc-d43a6c97ef534364ce84fffd7755953714ab10c2.tar.gz
Remove mk/find-prefix.mk usage from the www 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 'www/w3m')
-rw-r--r--www/w3m/options.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/w3m/options.mk b/www/w3m/options.mk
index dded5be95ae..7747ffb7300 100644
--- a/www/w3m/options.mk
+++ b/www/w3m/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2012/06/12 15:46:04 wiz Exp $
+# $NetBSD: options.mk,v 1.14 2015/11/25 12:54:07 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.w3m
PKG_SUPPORTED_OPTIONS= inet6 migemo w3m-lynx-key
@@ -24,9 +24,7 @@ CONFIGURE_ARGS+= --disable-ipv6
.if !empty(PKG_OPTIONS:Mmigemo)
.include "../../lang/ruby/rubyversion.mk"
DEPENDS+= ${RUBY_PKGPREFIX}-migemo-[0-9]*:../../textproc/migemo
-FIND_PREFIX:= MIGEMODIR=${RUBY_PKGPREFIX}-migemo
-.include "../../mk/find-prefix.mk"
-CONFIGURE_ARGS+= --with-migemo="${MIGEMODIR}/bin/migemo -t egrep ${MIGEMODIR}/share/migemo/migemo-dict"
+CONFIGURE_ARGS+= --with-migemo="${LOCALBASE}/bin/migemo -t egrep ${LOCALBASE}/share/migemo/migemo-dict"
.else
CONFIGURE_ARGS+= --without-migemo
.endif