pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0e36a0f8462
branches:  trunk
changeset: 378094:a0e36a0f8462
user:      chuck <chuck%pkgsrc.org@localhost>
date:      Fri Mar 30 18:28:32 2018 +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.

diffstat:

 editors/emacs25/options.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f2ae648bb63a -r a0e36a0f8462 editors/emacs25/options.mk
--- a/editors/emacs25/options.mk        Fri Mar 30 14:49:51 2018 +0000
+++ b/editors/emacs25/options.mk        Fri Mar 30 18:28:32 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2017/04/27 13:27:57 ryoon Exp $
+# $NetBSD: options.mk,v 1.4 2018/03/30 18:28:32 chuck Exp $
 
 PKG_OPTIONS_VAR=                       PKG_OPTIONS.emacs
 PKG_SUPPORTED_OPTIONS=                 dbus xft2 svg xml gnutls
@@ -75,6 +75,7 @@
 .if !empty(PKG_OPTIONS:Mx11)
 
 CONFIGURE_ARGS+=       --with-x
+CONFIGURE_ARGS+=       --without-ns
 CONFIGURE_ARGS+=       --with-xpm
 CONFIGURE_ARGS+=       --with-jpeg
 CONFIGURE_ARGS+=       --with-tiff



Home | Main Index | Thread Index | Old Index