| @@ -1,17 +1,21 @@ | | | @@ -1,17 +1,21 @@ |
1 | # $NetBSD: Makefile,v 1.1 2022/04/06 22:41:03 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2023/09/25 12:12:02 gdt Exp $ |
2 | | | 2 | |
3 | PKGNAME= ${DISTNAME:S/emacs/emacs28/:S/-/-nox11-/} | | 3 | PKGNAME= ${DISTNAME:S/emacs/emacs28/:S/-/-nox11-/} |
4 | CONFLICTS+= emacs28-[0-9]* | | 4 | CONFLICTS+= emacs28-[0-9]* |
5 | | | 5 | |
6 | FILESDIR= ${.CURDIR}/../../editors/emacs28/files | | 6 | FILESDIR= ${.CURDIR}/../../editors/emacs28/files |
7 | PATCHDIR= ${.CURDIR}/../../editors/emacs28/patches | | 7 | PATCHDIR= ${.CURDIR}/../../editors/emacs28/patches |
8 | PKGDIR= ${.CURDIR}/../../editors/emacs28 | | 8 | PKGDIR= ${.CURDIR}/../../editors/emacs28 |
9 | DISTINFO_FILE= ${.CURDIR}/../../editors/emacs28/distinfo | | 9 | DISTINFO_FILE= ${.CURDIR}/../../editors/emacs28/distinfo |
10 | | | 10 | |
11 | # minimal emacs without X | | 11 | # minimal emacs without X |
12 | CONFIGURE_ARGS+= --without-all --without-x | | 12 | CONFIGURE_ARGS+= --without-all --without-x |
| | | 13 | # on macOS, nextstep (cocoa) is probed for, even if --without-all is |
| | | 14 | # given. Pass it unconditionally, as forcing it off won't hurt on |
| | | 15 | # not-mac |
| | | 16 | CONFIGURE_ARGS+= --without-ns |
13 | # but we want to gzip installed files | | 17 | # but we want to gzip installed files |
14 | CONFIGURE_ARGS+= --with-compress-install | | 18 | CONFIGURE_ARGS+= --with-compress-install |
15 | | | 19 | |
16 | .include "../../editors/emacs28/Makefile.common" | | 20 | .include "../../editors/emacs28/Makefile.common" |
17 | .include "../../mk/bsd.pkg.mk" | | 21 | .include "../../mk/bsd.pkg.mk" |