pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors This package patches the texinfo sources for u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96e8edb828bb
branches:  trunk
changeset: 402526:96e8edb828bb
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri Oct 11 12:36:44 2019 +0000

description:
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:

 editors/xemacs-nox11/Makefile  |   4 ++--
 editors/xemacs/Makefile        |   4 ++--
 editors/xemacs/Makefile.common |  16 ++++++++++++++--
 editors/xemacs/distinfo        |   5 +----
 4 files changed, 19 insertions(+), 10 deletions(-)

diffs (89 lines):

diff -r 453020f3fbbd -r 96e8edb828bb editors/xemacs-nox11/Makefile
--- a/editors/xemacs-nox11/Makefile     Fri Oct 11 11:57:41 2019 +0000
+++ b/editors/xemacs-nox11/Makefile     Fri Oct 11 12:36:44 2019 +0000
@@ -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 -r 453020f3fbbd -r 96e8edb828bb editors/xemacs/Makefile
--- a/editors/xemacs/Makefile   Fri Oct 11 11:57:41 2019 +0000
+++ b/editors/xemacs/Makefile   Fri Oct 11 12:36:44 2019 +0000
@@ -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 -r 453020f3fbbd -r 96e8edb828bb editors/xemacs/Makefile.common
--- a/editors/xemacs/Makefile.common    Fri Oct 11 11:57:41 2019 +0000
+++ b/editors/xemacs/Makefile.common    Fri Oct 11 12:36:44 2019 +0000
@@ -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 @@
 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 @@
 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 @@
 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 -r 453020f3fbbd -r 96e8edb828bb editors/xemacs/distinfo
--- a/editors/xemacs/distinfo   Fri Oct 11 11:57:41 2019 +0000
+++ b/editors/xemacs/distinfo   Fri Oct 11 12:36:44 2019 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index