summaryrefslogtreecommitdiff
path: root/lang/polyml/options.mk
blob: bb09ec24a9a14c9267f24e5f1aaa992c0a182ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: options.mk,v 1.2 2012/06/15 09:20:28 asau Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.polyml
PKG_SUPPORTED_OPTIONS=	motif x11 gmp
PKG_SUGGESTED_OPTIONS=	motif x11

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

.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+=	--with-x

.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mmotif)
.include "../../mk/motif.buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mgmp)
CONFIGURE_ARGS+=	--with-gmp=yes
.include "../../devel/gmp/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--with-gmp=no
.endif