pkgsrc/x11/tk85/options.mk
taca ce3db9dc4c Restore tk-8.5.15 package as lang/tk85 with bump PKGREVISION since
x11/ruby-tk package needs tcl/tk 8.5 and it dosen't support tcl/tk 8.6
and later.
2014-03-10 14:22:01 +00:00

32 lines
701 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/03/10 14:22:01 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tk
PKG_SUPPORTED_OPTIONS= threads debug xft2
PKG_SUGGESTED_OPTIONS= threads
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= xft2
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-symbols
.endif
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-threads
. include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-threads
.endif
.if !empty(PKG_OPTIONS:Mxft2)
CONFIGURE_ARGS+= --enable-xft
USE_TOOLS+= pkg-config
. include "../../x11/libXft/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-xft
.endif