121d00ed27
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
32 lines
705 B
Makefile
32 lines
705 B
Makefile
# $NetBSD: options.mk,v 1.2 2019/11/03 09:14:18 rillig 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
|