blob: 7a38f493d6a1af65a0af4bd12b96a19fa1ea19ae (
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
28
29
30
|
# $NetBSD: options.mk,v 1.4 2014/12/30 17:23:45 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qt5
PKG_SUPPORTED_OPTIONS= cups debug gtk2
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcups)
. include "../../print/cups15/buildlink3.mk"
CONFIGURE_ARGS+= -cups
.else
CONFIGURE_ARGS+= -no-cups
.endif
.if !empty(PKG_OPTIONS:Mgtk2)
. include "../../x11/gtk2/buildlink3.mk"
CONFIGURE_ARGS+= -gtkstyle
.else
CONFIGURE_ARGS+= -no-gtkstyle
.endif
.if !empty(PKG_OPTIONS:Mdebug)
CC+= -ggdb
CXX+= -ggdb
CONFIGURE_ARGS+= -debug
INSTALL_UNSTRIPPED= yes
.else
CONFIGURE_ARGS+= -release
CONFIGURE_ARGS+= -no-debug
.endif
|