pkgsrc/lang/tcl/options.mk
marino ad68f4fa25 lang/tcl: Ensure tclConfig.sh has embedded rpath
The runpath of the TCL_LIB_SPEC was missing as compared to version 8.4,
so the configure script was altered to add it back.
Also, the CONFIGURE_ARGS for thread options had unrecognized arguments.

Problems found and fixes suggested by he@
2012-08-22 22:03:16 +00:00

18 lines
425 B
Makefile

# $NetBSD: options.mk,v 1.2 2012/08/22 22:03:17 marino 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
.else
CONFIGURE_ARGS+= --disable-threads
.endif