pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs26 Fix build with gtk2 or gtk3 options



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d498ef86f8cc
branches:  trunk
changeset: 400808:d498ef86f8cc
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Sep 04 14:00:20 2019 +0000

description:
Fix build with gtk2 or gtk3 options

diffstat:

 editors/emacs26/options.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a2fba9a74f93 -r d498ef86f8cc editors/emacs26/options.mk
--- a/editors/emacs26/options.mk        Wed Sep 04 13:32:50 2019 +0000
+++ b/editors/emacs26/options.mk        Wed Sep 04 14:00:20 2019 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index