Skip to content

Commit

Permalink
add "--without-ns" to x11 configs for OSX
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chuck committed Mar 30, 2018
1 parent a284ef0 commit 71cf456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editors/emacs25/options.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -75,6 +75,7 @@ PKG_OPTIONS+= gtk3
.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
Expand Down

0 comments on commit 71cf456

Please sign in to comment.