Fix build with gtk2 or gtk3 options
This commit is contained in:
parent
19b8bd3437
commit
c01dedab42
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.9 2019/09/03 16:35:54 gdt Exp $
|
||||
# $NetBSD: options.mk,v 1.10 2019/09/04 14:00:20 ryoon Exp $
|
||||
|
||||
### Set options
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.emacs
|
||||
|
@ -127,10 +127,13 @@ CONFIGURE_ARGS+= --without-xft --without-libotf --without-m17n-flt
|
|||
empty(PKG_OPTIONS:Mmotif))
|
||||
# defaults to gtk3
|
||||
USE_TOOLS+= pkg-config
|
||||
.include "../../graphics/MesaLib/buildlink3.mk"
|
||||
.include "../../x11/libXdamage/buildlink3.mk"
|
||||
.include "../../x11/gtk3/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=gtk3
|
||||
. elif !empty(PKG_OPTIONS:Mgtk2) || !empty(PKG_OPTIONS:Mgtk)
|
||||
USE_TOOLS+= pkg-config
|
||||
.include "../../x11/libXdamage/buildlink3.mk"
|
||||
.include "../../x11/gtk2/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-x-toolkit=gtk2
|
||||
. elif !empty(PKG_OPTIONS:Mxaw)
|
||||
|
|
Loading…
Reference in a new issue