pkgsrc/editors/emacs26-nox11/Makefile
gdt 44b17a04a3 emacs26-nox11: force-disable ns to fix build on MacOS
emacs26-nox11 is missing a fix made to emacs25, which disables ns
(nextstep) unconditionally.  Otherwise, the build picks up system
libraries and builds a mac app, which does not match the PLIST, and is
not console-only as intended.

(The CONFIGURE_ARGS disabling scheme is inconsistent between emacs
version, but this is a minimal build fix during freeze.)
2018-06-29 15:39:33 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2018/06/29 15:39:33 gdt Exp $
PKGNAME= ${DISTNAME:S/emacs/emacs26/:S/-/-nox11-/}
CONFLICTS+= emacs26-[0-9]*
FILESDIR= ${.CURDIR}/../../editors/emacs26/files
PATCHDIR= ${.CURDIR}/../../editors/emacs26/patches
PKGDIR= ${.CURDIR}/../../editors/emacs26
DISTINFO_FILE= ${.CURDIR}/../../editors/emacs26/distinfo
.include "../../editors/emacs26/Makefile.common"
CONFIGURE_ARGS+= --without-dbus
CONFIGURE_ARGS+= --without-xml2
CONFIGURE_ARGS+= --without-gnutls
CONFIGURE_ARGS+= --without-rsvg
CONFIGURE_ARGS+= --without-gconf
CONFIGURE_ARGS+= --without-imagemagick
CONFIGURE_ARGS+= --without-xaw3d
CONFIGURE_ARGS+= --without-xft --without-libotf --without-m17n-flt
CONFIGURE_ARGS+= --without-ns
CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --without-xpm
CONFIGURE_ARGS+= --without-jpeg
CONFIGURE_ARGS+= --without-tiff
CONFIGURE_ARGS+= --without-gif
CONFIGURE_ARGS+= --without-png
.include "../../mk/bsd.pkg.mk"