diff options
author | jperkin <jperkin> | 2015-11-25 12:53:42 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2015-11-25 12:53:42 +0000 |
commit | 093e9003c17ee8a64f8d4fcc02b0855e3bdcbb1d (patch) | |
tree | aeadb9ee94a34cf79224e32c000d13b5d09199dc /textproc/py-enchant | |
parent | 0341d08cb5c37ecee986eae393687c8250e5bc2b (diff) | |
download | pkgsrc-093e9003c17ee8a64f8d4fcc02b0855e3bdcbb1d.tar.gz |
Remove mk/find-prefix.mk usage from the textproc 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 'textproc/py-enchant')
-rw-r--r-- | textproc/py-enchant/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile index c3cf765c49c..97de5b769be 100644 --- a/textproc/py-enchant/Makefile +++ b/textproc/py-enchant/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2014/07/22 10:22:39 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2015/11/25 12:53:42 jperkin Exp $ DISTNAME= pyenchant-1.6.6 PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/} @@ -16,14 +16,11 @@ DEPENDS+= enchant-[0-9]*:../../textproc/enchant USE_LANGUAGES= # empty -FIND_PREFIX:= ENCHANT_DIR=enchant -.include "../../mk/find-prefix.mk" - .include "../../mk/bsd.prefs.mk" DLEXT.dylib= dylib DLEXT= ${DLEXT.${_OPSYS_SHLIB_TYPE}:Uso} -PYENCHANT_LIBRARY_PATH= ${ENCHANT_DIR}/lib/libenchant.${DLEXT} +PYENCHANT_LIBRARY_PATH= ${LOCALBASE}/lib/libenchant.${DLEXT} # fix the path of libenchant with patch-ab. SUBST_CLASSES+= dlpath |