summaryrefslogtreecommitdiff
path: root/inputmethod/canna-lib
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-03 17:44:39 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-03 17:44:39 +0000
commit60a770d175f6be45aadf4737650f00e996cc99d3 (patch)
tree2d5e6431a7f5d889ae5d956db9f40cb5939ecfd1 /inputmethod/canna-lib
parent3d7227714f42cefae2e2645f3518f20996d2278a (diff)
downloadpkgsrc-60a770d175f6be45aadf4737650f00e996cc99d3.tar.gz
Replace use of traditional CPP with AWK. This fixes one expansion bug
and additionally works with clang. Discussed with obache.
Diffstat (limited to 'inputmethod/canna-lib')
-rw-r--r--inputmethod/canna-lib/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/inputmethod/canna-lib/Makefile b/inputmethod/canna-lib/Makefile
index 9b2360339d3..9360fbc44ef 100644
--- a/inputmethod/canna-lib/Makefile
+++ b/inputmethod/canna-lib/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2010/05/28 11:06:34 obache Exp $
+# $NetBSD: Makefile,v 1.13 2012/07/03 17:44:39 joerg Exp $
-PKGREVISION= 2
+PKGREVISION= 3
CANNA_MODULE= lib
PKG_DESTDIR_SUPPORT= user-destdir
@@ -21,6 +21,11 @@ post-patch:
> ${WRKSRC}/cmd/${f}/Imakefile
.endfor
+MAKE_ENV+= AWK=${AWK:Q}
+
+post-extract:
+ ${CP} ${FILESDIR}/dic-phono-filter.awk ${WRKSRC}/dic/phono/
+
post-configure:
@${LN} -s ${WRKSRC}/server/*.h ${WRKSRC}/include