pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/xemacs Fix debug option arg, which is differen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6d7e4e9e57d
branches:  trunk
changeset: 389071:d6d7e4e9e57d
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Wed Dec 19 13:29:34 2018 +0000

description:
Fix debug option arg, which is different from 21.5

Set dialogs and widgets to "athena" explicitly.
There are no "lucid" implementations; instead, configure will look for
Motif implementations, and fall back to Athena. The former is prone to
sneak in an undeclared dependency on Motif.

diffstat:

 editors/xemacs/Makefile   |   4 ++--
 editors/xemacs/options.mk |  11 ++++++-----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (46 lines):

diff -r 28efcf80fda2 -r d6d7e4e9e57d editors/xemacs/Makefile
--- a/editors/xemacs/Makefile   Wed Dec 19 13:00:05 2018 +0000
+++ b/editors/xemacs/Makefile   Wed Dec 19 13:29:34 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.121 2018/02/01 14:25:30 hauke Exp $
+# $NetBSD: Makefile,v 1.122 2018/12/19 13:29:34 hauke Exp $
 
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   3
+PKGREVISION=   4
 COMMENT=       XEmacs text editor version 21.4
 
 # extra options for x11 support, not for sharing with xemacs-current-nox11
diff -r 28efcf80fda2 -r d6d7e4e9e57d editors/xemacs/options.mk
--- a/editors/xemacs/options.mk Wed Dec 19 13:00:05 2018 +0000
+++ b/editors/xemacs/options.mk Wed Dec 19 13:29:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2018/01/30 11:52:18 hauke Exp $
+# $NetBSD: options.mk,v 1.16 2018/12/19 13:29:34 hauke Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.xemacs
 PKG_SUPPORTED_OPTIONS+=                ldap canna debug
@@ -27,10 +27,11 @@
 CONFIGURE_ARGS+=       --site-runtime-libraries=${PREFIX}/lib:${X11BASE}/lib
 # Lucid widgets
 CONFIGURE_ARGS+=       --with-toolbars=yes
-CONFIGURE_ARGS+=       --with-menubars=yes
+CONFIGURE_ARGS+=       --with-menubars=lucid
 CONFIGURE_ARGS+=       --with-scrollbars=lucid
-CONFIGURE_ARGS+=       --with-dialogs=lucid
-CONFIGURE_ARGS+=       --with-widgets=lucid
+# Setting these to 'lucid' will sneak in Motif, so don't
+CONFIGURE_ARGS+=       --with-dialogs=athena
+CONFIGURE_ARGS+=       --with-widgets=athena
 CONFIGURE_ARGS+=       --with-athena=xaw
 CONFIGURE_ARGS+=       --with-xim=xlib
 .else
@@ -69,7 +70,7 @@
 
 PLIST_VARS+=            debug
 .if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+=       --enable-debug=yes --with-debug
+CONFIGURE_ARGS+=       --debug
 CFLAGS+=                -g3
 INSTALL_UNSTRIPPED=     yes
 .endif



Home | Main Index | Thread Index | Old Index