pkgsrc/x11/aterm/options.mk
dholland a015eb0955 Add optional, default-off dependency on afterstep, and disable
afterstep support if not enabled to avoid build failure if the
configure script finds it. From Yakovetsky Vladimir in PR 36755.
2016-05-01 19:35:09 +00:00

29 lines
707 B
Makefile

# $NetBSD: options.mk,v 1.3 2016/05/01 19:35:09 dholland Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.aterm
PKG_SUPPORTED_OPTIONS= aterm-big5 aterm-greek aterm-kanji aterm-xterm-scroll \
afterstep
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mafterstep)
.include "../../wm/afterstep/buildlink3.mk"
.else
CONFIGURE_ARGS+=--without-afterimage_config --without-afterstep_config
.endif
.if !empty(PKG_OPTIONS:Materm-big5)
CONFIGURE_ARGS+=--enable-big5
.endif
.if !empty(PKG_OPTIONS:Materm-greek)
CONFIGURE_ARGS+=--enable-greek
.endif
.if !empty(PKG_OPTIONS:Materm-kanji)
CONFIGURE_ARGS+=--enable-kanji
.endif
.if !empty(PKG_OPTIONS:Materm-xterm-scroll)
CONFIGURE_ARGS+=--enable-xterm-scroll
.endif