summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-anthy
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:50:57 +0000
committerjperkin <jperkin>2015-11-25 12:50:57 +0000
commit1d5f7fe5cc80833e968d867383b9f2b06e19b0b5 (patch)
tree6e0f6dcdcaaa8431cd523c7b1458cc679eeb048c /inputmethod/ibus-anthy
parent43680f8153e06ee0f2889fd8a929c68f80aa3bd6 (diff)
downloadpkgsrc-1d5f7fe5cc80833e968d867383b9f2b06e19b0b5.tar.gz
Remove mk/find-prefix.mk usage from the inputmethod 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 'inputmethod/ibus-anthy')
-rw-r--r--inputmethod/ibus-anthy/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/inputmethod/ibus-anthy/Makefile b/inputmethod/ibus-anthy/Makefile
index e26f878f913..79e7bed6b40 100644
--- a/inputmethod/ibus-anthy/Makefile
+++ b/inputmethod/ibus-anthy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2015/03/15 17:56:15 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.20 2015/11/25 12:50:57 jperkin Exp $
DISTNAME= ibus-anthy-1.5.6
CATEGORIES= inputmethod japanese
@@ -19,12 +19,9 @@ USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c
USE_TOOLS+= pkg-config msgfmt gmake intltool
-FIND_PREFIX:= KASUMI_DIR=kasumi
-.include "../../mk/find-prefix.mk"
-
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
-CONFIGURE_ARGS+= --with-kasumi-exec=${KASUMI_DIR}/bin/kasumi
-CONFIGURE_ARGS+= --with-kasumi-icon=${KASUMI_DIR}/share/pixmaps/kasumi.png
+CONFIGURE_ARGS+= --with-kasumi-exec=${LOCALBASE}/bin/kasumi
+CONFIGURE_ARGS+= --with-kasumi-icon=${LOCALBASE}/share/pixmaps/kasumi.png
CONFIGURE_ARGS+= --with-layout=default
#CONFIGURE_ARGS+= --enable-pygtk2-anthy