pkgsrc-WIP-changes archive

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

Adhoc problem fix for /usr/pkgsrc/wip/tc-git/work/tc/doc/-I does not exist!



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara (CF-SX2) <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Sat Jun 23 21:40:35 2018 +0900
Changeset:	5c060c13525e64d74987fe199f8d8d3a14d2e072

Modified Files:
	tc-git/Makefile
	tc-git/distinfo
Added Files:
	tc-git/patches/patch-doc_Makefile.am

Log Message:
Adhoc problem fix for /usr/pkgsrc/wip/tc-git/work/tc/doc/-I does not exist!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c060c13525e64d74987fe199f8d8d3a14d2e072

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tc-git/Makefile                      |  5 ++---
 tc-git/distinfo                      |  1 +
 tc-git/patches/patch-doc_Makefile.am | 26 ++++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs:
diff --git a/tc-git/Makefile b/tc-git/Makefile
index c55b5ce763..1ac63e1f07 100644
--- a/tc-git/Makefile
+++ b/tc-git/Makefile
@@ -56,12 +56,11 @@ SUBST_STAGE.tc-pre=	pre-configure
 SUBST_FILES.tc-pre+=	lisp/tc-pre.el
 SUBST_SED.tc-pre+=	-e s\|/usr/local/share\|${PREFIX}/share\|g
 
-# Usually said: Nothing changed. (but hope to help some situation ;-)
 SUBST_CLASSES+=		texinfo
-SUBST_MESSAGE.texinfo=	Unknown problem fix at the stage of generating doc/tc.texinfo
+SUBST_MESSAGE.texinfo=	Fix problem: /usr/pkgsrc/wip/tc-git/work/tc/doc/-I does not exist!
 SUBST_STAGE.texinfo=	post-configure
 SUBST_FILES.texinfo=	doc/Makefile
-SUBST_SED.texinfo=	-e '/if $$\(MAKEINFO\) $$\(AM_MAKEINFOFLAGS\) $$\(MAKEINFOFLAGS\) -I $$\(srcdir\)/s/ -I ./tc.texinfo/'
+SUBST_SED.texinfo=	-e '/$$(MAKEINFO) $$(AM_MAKEINFOFLAGS) $$(MAKEINFOFLAGS) -I $$(srcdir)/s/-I $$(srcdir)/ -I. tc.texinfo ; echo disable following line /'
 
 # string-to-int to string-to-number
 SUBST_CLASSES+=		s2i
diff --git a/tc-git/distinfo b/tc-git/distinfo
index 663bde7764..7d4d741243 100644
--- a/tc-git/distinfo
+++ b/tc-git/distinfo
@@ -4,6 +4,7 @@ SHA1 (patch-BATCH-SORT) = fed628d0f512638934ca16b4b7d0906d4be650c9
 SHA1 (patch-bushu-util_bushu2canna) = 9573de81b6f9ef7a225fc954b618f7905e648821
 SHA1 (patch-bushu-util_where) = 07bd3faf178ef57b9cc0afae20f56dbf83cc1d6d
 SHA1 (patch-configure.ac) = 4174e3674e2cc7dbb6daf5de56fa76f24273edf9
+SHA1 (patch-doc_Makefile.am) = fa69f7e5a4a49ad38479929549740f1c9e1a37fb
 SHA1 (patch-etc_Makefile.am) = 368d4cc39ca7572dd3a1bb632e4ded3046cf2c42
 SHA1 (patch-etc_Makefile.in) = 5d17622136ce9960dcc5dc43f4763d3e315241b1
 SHA1 (patch-etc_bushu.rev) = 53259ef27da2b3e57ff9834957c8ee9b2fe4f833
diff --git a/tc-git/patches/patch-doc_Makefile.am b/tc-git/patches/patch-doc_Makefile.am
new file mode 100644
index 0000000000..61d0919cdd
--- /dev/null
+++ b/tc-git/patches/patch-doc_Makefile.am
@@ -0,0 +1,26 @@
+$NetBSD$
+
+Disable generating manual in pdf
+
+--- doc/Makefile.am.orig	2018-06-23 21:13:47.982109206 +0900
++++ doc/Makefile.am	2018-06-23 21:17:30.011571953 +0900
+@@ -9,12 +9,12 @@ TEXINFO_TEX = no-texinfo.tex
+ 
+ MAKEINFO = $(EMACS) -q -no-site-file -batch -l texinfmt -f batch-texinfo-format
+ 
+-all: manual.pdf
++all:
+ 
+ manual.pdf: tc.texinfo
+-	ptex tc.texinfo
+-	$(EMACS) -q -no-site-file -batch -l $(srcdir)/texindex.el \
+-		-f batch-texindex tc.cp tc.cp tc.fn tc.ky tc.tp tc.vr
+-	ptex tc.texinfo
+-	mv tc.dvi manual.dvi
+-	dvipdfm manual.dvi
++	echo tc.texinfo
++#	$(EMACS) -q -no-site-file -batch -l $(srcdir)/texindex.el \
++#		-f batch-texindex tc.cp tc.cp tc.fn tc.ky tc.tp tc.vr
++#	ptex tc.texinfo
++#	mv tc.dvi manual.dvi
++#	dvipdfm manual.dvi


Home | Main Index | Thread Index | Old Index