diff options
author | taca <taca@pkgsrc.org> | 2009-12-15 13:11:18 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-12-15 13:11:18 +0000 |
commit | c8386afdfda61f23860967eca1a72af5bbed0c55 (patch) | |
tree | 921f85663b494149f30670b9e8496de876dad05a /mail/cue/options.mk | |
parent | 8137bdebe76ad81cf58c06322f1fe614b7e9fe84 (diff) | |
download | pkgsrc-c8386afdfda61f23860967eca1a72af5bbed0c55.tar.gz |
Overhaul mail/cue pacakge.
* Add patches to fix build problem with OpenSSL 1.0.0 beta and later.
* Generase "-DUSE_SSL" instead of "-DSSL". Similar changes are CANNA
and ZLIB. (In the case of ZLIB, it could be change to use HAVE_ZLIB_H.)
* Split Makefile to use hacks.mk and options.mk.
* And miscellaneous pkglint clean up.
There should be no functional change and fix PR pkg/42452.
Diffstat (limited to 'mail/cue/options.mk')
-rw-r--r-- | mail/cue/options.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/cue/options.mk b/mail/cue/options.mk new file mode 100644 index 00000000000..de9cec62121 --- /dev/null +++ b/mail/cue/options.mk @@ -0,0 +1,23 @@ +# $NetBSD: options.mk,v 1.1 2009/12/15 13:11:18 taca Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.cue +PKG_SUPPORTED_OPTIONS= canna idea inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) && (${OPSYS} != "SunOS") +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +.if !empty(PKG_OPTIONS:Mcanna) +. include "../../inputmethod/canna-lib/buildlink3.mk" +CONFIGURE_ARGS+= --with-canna=${BUILDLINK_PREFIX.canna} +.else +CONFIGURE_ARGS+= --without-canna +.endif + +.if !empty(PKG_OPTIONS:Midea) +CONFIGURE_ARGS+= --enable-idea +.endif |