diff options
Diffstat (limited to 'shells/eltclsh')
-rw-r--r-- | shells/eltclsh/options.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shells/eltclsh/options.mk b/shells/eltclsh/options.mk new file mode 100644 index 00000000000..7c81d8cac22 --- /dev/null +++ b/shells/eltclsh/options.mk @@ -0,0 +1,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 |