diff options
author | hauke <hauke@pkgsrc.org> | 2019-10-11 12:36:44 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2019-10-11 12:36:44 +0000 |
commit | ab09ead0cf9c2cf152e7e833f6e57bd2c5a721c7 (patch) | |
tree | dfe0ddca70496b1bc978673d943a8dc0304058bb /editors | |
parent | 4f895806161ccc7996914063f2298deb8dc572cc (diff) | |
download | pkgsrc-ab09ead0cf9c2cf152e7e833f6e57bd2c5a721c7.tar.gz |
This package patches the texinfo sources for use with NetBSD's
makeinfo v4.8. The 6.7 update to devel/gtexinfo broke backwards
compatibility more, so we pull out the patches and conditionally apply
them on NetBSD, only. (Other candidates?)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-nox11/Makefile | 4 | ||||
-rw-r--r-- | editors/xemacs/Makefile | 4 | ||||
-rw-r--r-- | editors/xemacs/Makefile.common | 16 | ||||
-rw-r--r-- | editors/xemacs/distinfo | 5 |
4 files changed, 19 insertions, 10 deletions
diff --git a/editors/xemacs-nox11/Makefile b/editors/xemacs-nox11/Makefile index 31b582f6da0..3221a24533b 100644 --- a/editors/xemacs-nox11/Makefile +++ b/editors/xemacs-nox11/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.31 2019/10/08 12:40:55 hauke Exp $ +# $NetBSD: Makefile,v 1.32 2019/10/11 12:36:44 hauke Exp $ PKGNAME= ${DISTNAME:S/-/-nox11-/} -PKGREVISION= 8 +PKGREVISION= 9 COMMENT= XEmacs text editor version 21 (no x11 support) # Version information in ../../editors/xemacs/Makefile.common diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index 771638ad382..01cb30ceb92 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.125 2019/10/08 12:40:54 hauke Exp $ +# $NetBSD: Makefile,v 1.126 2019/10/11 12:36:44 hauke Exp $ PKGNAME= ${DISTNAME} -PKGREVISION= 7 +PKGREVISION= 8 COMMENT= XEmacs text editor version 21.4 # extra options for x11 support, not for sharing with xemacs-current-nox11 diff --git a/editors/xemacs/Makefile.common b/editors/xemacs/Makefile.common index c4c3db38556..f73f8d1489a 100644 --- a/editors/xemacs/Makefile.common +++ b/editors/xemacs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.31 2019/10/08 12:40:54 hauke Exp $ +# $NetBSD: Makefile.common,v 1.32 2019/10/11 12:36:44 hauke Exp $ # # used by editors/xemacs-nox11/Makefile # used by editors/xemacs/Makefile @@ -18,7 +18,7 @@ PATCHDIR= ${.CURDIR}/../../editors/xemacs/patches DISTINFO_FILE= ${.CURDIR}/../../editors/xemacs/distinfo PLIST_SRC= ${.CURDIR}/../../editors/xemacs/PLIST -USE_TOOLS+= makeinfo perl +USE_TOOLS+= patch makeinfo perl HAS_CONFIGURE= yes @@ -28,6 +28,11 @@ FILES_SUBST+= DISTNAME=${DISTNAME} MESSAGE_SUBST+= DISTNAME=${DISTNAME} INFO_FILES= yes +# NetBSD ships with makeinfo v4 in base, and v6 format is not compatible +MAKEINFO_4_PATCHES= patch-man_lispref_debugging.texi \ + patch-man_xemacs_custom.texi \ + patch-man_lispref_intro.texi + .if defined(MANZ) PLIST_SUBST+= ELSUFX='.gz' .else @@ -96,6 +101,13 @@ INSTALL_MAKE_FLAGS+= sitemoduledir=${DESTDIR}${PREFIX}/lib/xemacs/site-modules post-extract: cp ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s/ +.if (${OPSYS} == "NetBSD") +post-patch: +.for xpatch in ${MAKEINFO_4_PATCHES} + cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/${xpatch} +.endfor +.endif + pre-build: rm -f ${WRKSRC}/etc/ctags.1.orig rm -f ${WRKSRC}/lisp/gui.el.orig diff --git a/editors/xemacs/distinfo b/editors/xemacs/distinfo index 54793b6ce51..6db284c9b76 100644 --- a/editors/xemacs/distinfo +++ b/editors/xemacs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.28 2018/12/20 15:26:31 hauke Exp $ +$NetBSD: distinfo,v 1.29 2019/10/11 12:36:44 hauke Exp $ SHA1 (xemacs/xemacs-21.4.24.tar.gz) = e9ff7693adbef333b78f51b4dfdddd296bad0fcc RMD160 (xemacs/xemacs-21.4.24.tar.gz) = 0e01971c0dd47d9dd401d02e508edf241208969b @@ -9,9 +9,6 @@ SHA1 (patch-configure) = 10ae7a19ada6321996d9f57b8129ee91c326ac72 SHA1 (patch-lib-src_Makefile.in.in) = 5e11bf2904145804f521fed0ef956da94e5f21bd SHA1 (patch-lisp_gui.el) = 686bc5a7c4bf6e3c4f010dba22aee109d94f6cb3 SHA1 (patch-lwlib_Makefile.in.in) = 97fcf6de4299dfd5ba7a9827ee88bc037df0491e -SHA1 (patch-man_lispref_debugging.texi) = 4d6f99c17bc8e25e700a663f7eff147b72fd9a14 -SHA1 (patch-man_lispref_intro.texi) = 5837f8a0e8057649921cdbddd8e8329165ec1104 -SHA1 (patch-man_xemacs_custom.texi) = e564906bced48b0a7c788c217c02eafe167fee59 SHA1 (patch-src_Makefile.in.in) = 8d2c262983ff16197c99429e7d4cc80cd8371775 SHA1 (patch-src_config.h.in) = 25ac897560abad51d83b58818e1dc2e77a8519e4 SHA1 (patch-src_emacs.c) = 19bbba8b9a777388060bab637b2bdc5e9027e11f |