2005-12-06 00:55:01 +01:00
|
|
|
# $NetBSD: options.mk,v 1.8 2005/12/05 23:55:11 rillig Exp $
|
2004-08-05 09:19:25 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mutt
|
2005-03-28 10:57:58 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= slang ncurses ssl buffy-size
|
2005-05-31 12:01:36 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= ssl
|
2004-08-22 21:32:51 +02:00
|
|
|
|
2004-08-05 09:19:25 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### Slang and ncurses
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mslang)
|
|
|
|
. include "../../devel/libslang/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang}
|
|
|
|
.else
|
|
|
|
. if !empty(PKG_OPTIONS:Mncurses)
|
|
|
|
USE_NCURSES= yes
|
|
|
|
. endif
|
|
|
|
. include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.ncurses}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### SSL
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
|
|
. include "../../security/openssl/buildlink3.mk"
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
|
2004-08-05 09:19:25 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
|
|
.endif
|
2005-01-01 23:05:26 +01:00
|
|
|
|
|
|
|
###
|
|
|
|
### configure option --enable-buffy-size
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mbuffy-size)
|
|
|
|
CONFIGURE_ARGS+= --enable-buffy-size
|
|
|
|
.endif
|