pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/emacs28-nox11



Module Name:    pkgsrc
Committed By:   gdt
Date:           Mon Sep 25 12:12:02 UTC 2023

Modified Files:
        pkgsrc/editors/emacs28-nox11: Makefile

Log Message:
emacs28-nox11: Force nextstep off to fix macOS build

Despite --without-all, emacs's configure finds and enables nextstep
(cocoa) on macOS, which besides violating the intent to build a
command-line emacs, builds a different set of files and thus fails
packaging.  Explicitly disable nextstep.

With this change, the package builds and runs on macOS.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/emacs28-nox11/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs28-nox11/Makefile
diff -u pkgsrc/editors/emacs28-nox11/Makefile:1.1 pkgsrc/editors/emacs28-nox11/Makefile:1.2
--- pkgsrc/editors/emacs28-nox11/Makefile:1.1   Wed Apr  6 22:41:03 2022
+++ pkgsrc/editors/emacs28-nox11/Makefile       Mon Sep 25 12:12:02 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/04/06 22:41:03 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/09/25 12:12:02 gdt Exp $
 
 PKGNAME=       ${DISTNAME:S/emacs/emacs28/:S/-/-nox11-/}
 CONFLICTS+=    emacs28-[0-9]*
@@ -10,6 +10,10 @@ DISTINFO_FILE=       ${.CURDIR}/../../editors/
 
 # minimal emacs without X
 CONFIGURE_ARGS+=       --without-all --without-x
+# on macOS, nextstep (cocoa) is probed for, even if --without-all is
+# given.  Pass it unconditionally, as forcing it off won't hurt on
+# not-mac
+CONFIGURE_ARGS+=       --without-ns
 # but we want to gzip installed files
 CONFIGURE_ARGS+=       --with-compress-install
 



Home | Main Index | Thread Index | Old Index