summaryrefslogtreecommitdiff
path: root/devel/exempi/options.mk
blob: ec8dc59bab844accdcb4bd3282cec30e9c1ec22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: options.mk,v 1.2 2017/09/04 09:40:57 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.exempi
PKG_SUPPORTED_OPTIONS=	test

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mtest)
CONFIGURE_ARGS+=	--with-boost=${BUILDLINK_PREFIX.boost-libs}
.include "../../devel/boost-libs/buildlink3.mk"
TEST_TARGET=	check
.else
CONFIGURE_ARGS+=	--enable-unittest=no
.endif