summaryrefslogtreecommitdiff
path: root/shells/eltclsh/options.mk
blob: 7c81d8cac224baf2ea9e1203496db75f58313930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $NetBSD: options.mk,v 1.1 2008/08/22 07:44:00 obache Exp $
PKG_OPTIONS_VAR=        PKG_OPTIONS.eltclsh
PKG_SUPPORTED_OPTIONS=  tk
PKG_SUGGESTED_OPTIONS=  tk

.include "../../mk/bsd.options.mk"

##
## Support TK, i.e. the edit-line wish shell
##
PLIST_VARS+=	tk
.if !empty(PKG_OPTIONS:Mtk)
.include "../../x11/tk/buildlink3.mk"
CONFIGURE_ARGS+=        --with-tk=${BUILDLINK_PREFIX.tk}/lib
PLIST.tk=		yes
.else
CONFIGURE_ARGS+=        --without-tk
.endif