diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:53:42 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:53:42 +0000 |
commit | 8c51660c6fbc8a5eeb77f6cacc46e1c55b93f2fc (patch) | |
tree | aeadb9ee94a34cf79224e32c000d13b5d09199dc /textproc/mecab-jumandic | |
parent | ca5a9fcc8164c96d5dcbb448c9c8b89970718111 (diff) | |
download | pkgsrc-8c51660c6fbc8a5eeb77f6cacc46e1c55b93f2fc.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/mecab-jumandic')
-rw-r--r-- | textproc/mecab-jumandic/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/mecab-jumandic/Makefile b/textproc/mecab-jumandic/Makefile index d90fb0db823..73d10a2c3bd 100644 --- a/textproc/mecab-jumandic/Makefile +++ b/textproc/mecab-jumandic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2012/10/25 06:56:07 asau Exp $ +# $NetBSD: Makefile,v 1.7 2015/11/25 12:53:42 jperkin Exp $ # .include "../../textproc/mecab/Makefile.common" @@ -20,8 +20,6 @@ BUILD_DEFS+= MECAB_CHARSET UNLIMIT_RESOURCES= datasize -FIND_PREFIX:= MECABDIR=mecab-base -.include "../../mk/find-prefix.mk" -CONFIGURE_ARGS+= --with-mecab-config=${MECABDIR}/bin/mecab-config +CONFIGURE_ARGS+= --with-mecab-config=${LOCALBASE}/bin/mecab-config .include "../../mk/bsd.pkg.mk" |