summaryrefslogtreecommitdiff
path: root/lang/algol68g/options.mk
blob: f79724798af10a9db9b12738dcaf7013123747f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.1.1.1 2011/10/11 12:43:50 ryoon Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.a68g
PKG_SUPPORTED_OPTIONS=	plotutils pgsql
PKG_SUGGESTED_OPTIONS=	plotutils pgsql

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

.if !empty(PKG_OPTIONS:Mplotutils)
.  include "../../graphics/plotutils/buildlink3.mk"
CONFIGURE_ARGS+=	--with-plotutils
.else
CONFIGURE_ARGS+=	--without-plotutils
.endif

# It seems that when including PostgreSQL support it doesn't actually
# need to have it installed at build time, just at run time.
# So maybe this DEPENDS is undesirable.
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+=	--with-pgsql
.else
CONFIGURE_ARGS+=	--without-pgsql
.endif