08f3106d89
This is with the notable exception of meta-pkgs/desktop-gnome, which I believe implies a fully functional cups. This is still missing revision bumps - I'll be right there (first time I am doing this on so many packages at a time). As discussed on tech-pkg@
30 lines
649 B
Makefile
30 lines
649 B
Makefile
# $NetBSD: options.mk,v 1.10 2017/11/12 15:37:00 khorben Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.qt4
|
|
PKG_SUPPORTED_OPTIONS= cups debug gtk2
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
. include "../../print/cups-base/buildlink3.mk"
|
|
CONFIGURE_ARGS+= -cups
|
|
.else
|
|
CONFIGURE_ARGS+= -no-cups
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
. include "../../devel/glib2/buildlink3.mk"
|
|
. 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+= -no-debug
|
|
.endif
|