pkgsrc/sysutils/mtools/options.mk
wiz da6d8cb8c7 mtools: simplify options
If an option is not specified in the default options, it's turned off
2020-11-27 18:34:04 +00:00

18 lines
476 B
Makefile

# $NetBSD: options.mk,v 1.4 2020/11/27 18:34:04 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mtools
PKG_SUPPORTED_OPTIONS= floppyd
.include "../../mk/bsd.options.mk"
PLIST_VARS+= floppyd
.if !empty(PKG_OPTIONS:Mfloppyd)
BUILDLINK_DEPMETHOD.libXt?= build
. include "../../x11/libX11/buildlink3.mk"
. include "../../x11/libXt/buildlink3.mk"
CPPFLAGS+= -I${X11BASE}/include
CONFIGURE_ARGS+= --enable-floppyd
PLIST.floppyd= yes
.else
CONFIGURE_ARGS+= --disable-floppyd
.endif