summaryrefslogtreecommitdiff
path: root/mail/cue/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2003-07-17 09:09:58 +0000
committeruebayasi <uebayasi@pkgsrc.org>2003-07-17 09:09:58 +0000
commit223429e75fca6d8867fbaf2376f7165847c47ba1 (patch)
tree7d9f21f7c5a792a8f9102784d697f26608e0551c /mail/cue/Makefile
parent5e4225a2a71b84cc6e0473db6c9891fdf1e6c681 (diff)
downloadpkgsrc-223429e75fca6d8867fbaf2376f7165847c47ba1.tar.gz
Introduce CUE_USE_CANNA, which determines whether to enable Canna support.
Default is NO. This addresses PR19010 by Takashi Yamamoto.
Diffstat (limited to 'mail/cue/Makefile')
-rw-r--r--mail/cue/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/cue/Makefile b/mail/cue/Makefile
index 6fc2896d0d5..5e56254978f 100644
--- a/mail/cue/Makefile
+++ b/mail/cue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2003/07/16 09:24:14 itojun Exp $
+# $NetBSD: Makefile,v 1.22 2003/07/17 09:09:59 uebayasi Exp $
DISTNAME= cue-snap-20030714
PKGNAME= cue-20030714
@@ -13,16 +13,20 @@ USE_BUILDLINK2= yes
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= USE_INET6 USE_IDEA USE_CANNA
+BUILD_DEFS+= USE_INET6 USE_IDEA CUE_USE_CANNA
-.if defined(USE_INET6) && ${USE_INET6} == "YES"
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
-# require Canna, for now, cue assumes Japanese encoding anyways
-CONFIGURE_ARGS+= --with-canna=${BUILDLINK_PREFIX.canna-lib}
+.if defined(CUE_USE_CANNA) && !empty(CUE_USE_CANNA:M[Yy][Ee][Ss])
+.include "../../inputmethod/canna-lib/buildlink2.mk"
+CONFIGURE_ARGS+= --with-canna=${BUILDLINK_PREFIX.canna}
+.else
+CONFIGURE_ARGS+= --without-canna
+.endif
CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
.if defined(USE_IDEA)
CONFIGURE_ARGS+= --enable-idea
@@ -36,6 +40,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/cue.hlp ${PREFIX}/share/doc/cue
${INSTALL_DATA} ${WRKSRC}/cue.html ${PREFIX}/share/doc/cue
-.include "../../inputmethod/canna-lib/buildlink2.mk"
.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"