Sun Nov 14 12:51:10 2021 UTC ()
emacs27: replace the shell of autogen.sh

PR pkg/56497 emacs 27 fails to build on Solaris 10 (autogen.sh shell)


(nia)
diff -r1.3 -r1.4 pkgsrc/editors/emacs27/Makefile.common

cvs diff -r1.3 -r1.4 pkgsrc/editors/emacs27/Makefile.common (expand / switch to unified diff)

--- pkgsrc/editors/emacs27/Makefile.common 2021/09/27 19:18:08 1.3
+++ pkgsrc/editors/emacs27/Makefile.common 2021/11/14 12:51:09 1.4
@@ -1,39 +1,41 @@ @@ -1,39 +1,41 @@
1# $NetBSD: Makefile.common,v 1.3 2021/09/27 19:18:08 nia Exp $ 1# $NetBSD: Makefile.common,v 1.4 2021/11/14 12:51:09 nia Exp $
2# 2#
3# used by editors/emacs27/Makefile 3# used by editors/emacs27/Makefile
4# used by editors/emacs27-nox11/Makefile 4# used by editors/emacs27-nox11/Makefile
5 5
6.include "../../mk/bsd.prefs.mk" 6.include "../../mk/bsd.prefs.mk"
7 7
8DISTNAME= emacs-${EMACS_VERSION} 8DISTNAME= emacs-${EMACS_VERSION}
9PKGNAME?= ${DISTNAME:S/emacs/emacs27/} 9PKGNAME?= ${DISTNAME:S/emacs/emacs27/}
10CATEGORIES= editors 10CATEGORIES= editors
11MASTER_SITES= ${MASTER_SITE_GNU:=emacs/} 11MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
12 12
13MAINTAINER= pkgsrc-users@NetBSD.org 13MAINTAINER= pkgsrc-users@NetBSD.org
14HOMEPAGE= https://www.gnu.org/software/emacs/ 14HOMEPAGE= https://www.gnu.org/software/emacs/
15COMMENT= GNU editing macros (editor) 15COMMENT= GNU editing macros (editor)
16LICENSE= gnu-gpl-v3 16LICENSE= gnu-gpl-v3
17 17
18WRKSRC= ${WRKDIR}/${DISTNAME:S/b$//} 18WRKSRC= ${WRKDIR}/${DISTNAME:S/b$//}
19 19
20# use makeinfo from pkgsrc/deve/gtexinfo 20# use makeinfo from pkgsrc/deve/gtexinfo
21TEXINFO_REQD= 4.13 21TEXINFO_REQD= 4.13
22 22
23GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
24INFO_FILES= yes 24INFO_FILES= yes
25USE_TOOLS+= autoconf automake gmake gzip makeinfo gm4 gsed 25USE_TOOLS+= autoconf automake gmake gzip makeinfo gm4 gsed
26 26
 27REPLACE_SH+= autogen.sh
 28
27CONFIGURE_ARGS+= --srcdir=${WRKSRC} 29CONFIGURE_ARGS+= --srcdir=${WRKSRC}
28CONFIGURE_ARGS+= --localstatedir=${VARBASE} 30CONFIGURE_ARGS+= --localstatedir=${VARBASE}
29CONFIGURE_ARGS+= --disable-autodepend 31CONFIGURE_ARGS+= --disable-autodepend
30CONFIGURE_ENV+= GAMEOWN=${GAMES_USER} 32CONFIGURE_ENV+= GAMEOWN=${GAMES_USER}
31 33
32USE_GAMESGROUP= yes 34USE_GAMESGROUP= yes
33 35
34BUILD_DEFS+= VARBASE 36BUILD_DEFS+= VARBASE
35BUILD_DEFS+= GAMEDATAMODE 37BUILD_DEFS+= GAMEDATAMODE
36PLIST_SRC+= ../../editors/emacs27/PLIST 38PLIST_SRC+= ../../editors/emacs27/PLIST
37 39
38.include "../../editors/emacs27/version.mk" 40.include "../../editors/emacs27/version.mk"
39 41