pkgsrc/lang/tcl/options.mk

19 lines
464 B
Makefile

# $NetBSD: options.mk,v 1.3 2015/03/11 22:32:08 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tcl
PKG_SUPPORTED_OPTIONS= threads debug
PKG_SUGGESTED_OPTIONS= threads
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-symbols=mem
.endif
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-threads
.include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-threads
.endif