blob: 955afb07255cb44a1df7f14437dc54d5d4337a9a (
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.1 2009/09/04 21:39:10 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pspp
PKG_SUPPORTED_OPTIONS= pgsql x11
PKG_SUGGESTED_OPTIONS= x11
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
#CONFIGURE_ARGS+= --without-libplot # :(
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gui --without-libplot
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+= --with-libpq
.include "../../databases/postgresql84-client/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-libpq
.endif
|