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/f576e064408d
branches: trunk
changeset: 339031:f576e064408d
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 0cbad8d4a13f -r f576e064408d 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