2015-03-12 15:29:28 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2015/03/12 14:29:28 tnn Exp $
|
2014-03-10 15:20:44 +01:00
|
|
|
|
|
|
|
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
|
2015-03-12 15:29:28 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2014-03-10 15:20:44 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.endif
|