9248aed7bc
Fix gtk2 option. PR pkg/49277. Explicitly turn off all database drivers since they might be picked up, as shown in joyents linux bulk build. Bump pkgrevision.
35 lines
733 B
Makefile
35 lines
733 B
Makefile
# $NetBSD: options.mk,v 1.7 2016/01/18 20:52:43 nros Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.qt5
|
|
PKG_SUPPORTED_OPTIONS= cups debug gtk2
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= cups gtk2
|
|
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
. include "../../print/cups15/buildlink3.mk"
|
|
CONFIGURE_ARGS+= -cups
|
|
PLIST.cups= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -no-cups
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
. include "../../x11/gtk2/buildlink3.mk"
|
|
CONFIGURE_ARGS+= -gtkstyle
|
|
PLIST.gtk2= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -no-gtkstyle
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
# this does not work - builds libQtBoostracp_debug
|
|
CC+= -ggdb
|
|
CXX+= -ggdb
|
|
CONFIGURE_ARGS+= -debug
|
|
INSTALL_UNSTRIPPED= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -release
|
|
CONFIGURE_ARGS+= -no-debug
|
|
.endif
|