2ef6f9a883
+ Convert to use PLIST_VARS instead of manually passing "@comment " to the plist module. Bump the PKGREVISION to 1 due to the options changes.
19 lines
532 B
Makefile
19 lines
532 B
Makefile
# $NetBSD: options.mk,v 1.1 2008/04/10 21:19:19 jlam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mtools
|
|
PKG_SUPPORTED_OPTIONS= floppyd
|
|
PKG_OPTIONS_LEGACY_VARS= MTOOLS_ENABLE_FLOPPYD: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
|