pkgsrc/www/screws/options.mk

28 lines
544 B
Makefile

# $NetBSD: options.mk,v 1.4 2012/06/12 15:46:04 wiz Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.screws
PKG_SUPPORTED_OPTIONS= inet6 lua ssl
PKG_SUGGESTED_OPTIONS= inet6 lua ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
MAKE_ENV+= IPV6=1
.else
MAKE_ENV+= IPV6=0
.endif
.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
MAKE_ENV+= INCORE_LUA=1
.else
MAKE_ENV+= INCORE_LUA=0
.endif
.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
MAKE_ENV+= SSL=1
.else
MAKE_ENV+= SSL=0
.endif