pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/emacs26 add "--without-ns" to x11 configs for OSX



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ef4b74d6298
branches:  trunk
changeset: 334698:1ef4b74d6298
user:      chuck <chuck%pkgsrc.org@localhost>
date:      Mon Jun 03 01:21:49 2019 +0000

description:
add "--without-ns" to x11 configs for OSX

on OSX the configure script will select the "nextstep" window system
unless you explicitly tell it not to:

    % bmake configure |& egrep 'PKG_OPTIONS.emacs|What window system should Emacs use'
            PKG_OPTIONS.emacs = x11
      What window system should Emacs use?                    nextstep
    %

leaving pkgsrc in a bad state where it thinks it built an x11 version,
but instead emacs built a nextstep version.

add "--without-ns" to the x11 config option for OSX.  this
should not impact other platforms.  (this diff corresponds to
the change i did in options.mk 1.4 for editors/emacs25)

diffstat:

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

diffs (23 lines):

diff -r 9c26a35f6a2c -r 1ef4b74d6298 editors/emacs26/options.mk
--- a/editors/emacs26/options.mk        Sun Jun 02 22:50:04 2019 +0000
+++ b/editors/emacs26/options.mk        Mon Jun 03 01:21:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2019/04/14 07:03:20 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2019/06/03 01:21:49 chuck Exp $
 
 ### Set options
 PKG_OPTIONS_VAR=                       PKG_OPTIONS.emacs
@@ -62,6 +62,13 @@
 ###
 .if !empty(PKG_OPTIONS:Mx11)
 ###
+### on OSX the configure script will select the "nextstep" window system
+### unless you explicitly tell it not to.  this should not impact other
+### platforms.
+###
+CONFIGURE_ARGS+=       --without-ns
+
+###
 ### Support SVG
 ###
 .  if !empty(PKG_OPTIONS:Msvg)



Home | Main Index | Thread Index | Old Index