pkgsrc-wip/vimprobable2/options.mk

18 lines
392 B
Makefile

# $NetBSD: options.mk,v 1.1 2012/12/25 23:40:19 leot1990 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vimprobable2
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
#
# Debug
#
.if !empty(PKG_OPTIONS:Mdebug)
SUBST_CLASSES+= options
SUBST_STAGE.options= pre-build
SUBST_MESSAGE.options= Enable debugging.
SUBST_FILES.options= Makefile
SUBST_SED.options+= -e '/^V_DEBUG/ s/0/1/'
.endif