2016-07-09 14:23:16 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2016/07/09 12:23:16 adam Exp $
|
2014-03-14 15:54:02 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.freetype2
|
|
|
|
PKG_SUPPORTED_OPTIONS= png subpixel
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
# subpixel (lcd) rendering, patent issues
|
|
|
|
.if !empty(PKG_OPTIONS:Msubpixel)
|
|
|
|
CFLAGS+= -DFT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpng)
|
2016-07-09 14:23:16 +02:00
|
|
|
CONFIGURE_ARGS+= --with-png=yes
|
2014-03-14 15:54:02 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.else
|
2016-07-09 14:23:16 +02:00
|
|
|
CONFIGURE_ARGS+= --with-png=no
|
2014-03-14 15:54:02 +01:00
|
|
|
.endif
|