Sat Nov 28 01:29:08 2020 UTC ()
openjade: tweak a comment


(gutteridge)
diff -r1.41 -r1.42 pkgsrc/textproc/openjade/Makefile

cvs diff -r1.41 -r1.42 pkgsrc/textproc/openjade/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/openjade/Makefile 2020/08/31 18:11:44 1.41
+++ pkgsrc/textproc/openjade/Makefile 2020/11/28 01:29:08 1.42
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.41 2020/08/31 18:11:44 wiz Exp $ 1# $NetBSD: Makefile,v 1.42 2020/11/28 01:29:08 gutteridge Exp $
2 2
3DISTNAME= openjade-1.3.2 3DISTNAME= openjade-1.3.2
4PKGREVISION= 18 4PKGREVISION= 18
5CATEGORIES= textproc 5CATEGORIES= textproc
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
7 7
8MAINTAINER= kogule@mars.dti.ne.jp 8MAINTAINER= kogule@mars.dti.ne.jp
9HOMEPAGE= http://openjade.sourceforge.net/ 9HOMEPAGE= http://openjade.sourceforge.net/
10COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade" 10COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
11LICENSE= mit 11LICENSE= mit
12 12
13MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
14 14
@@ -26,28 +26,28 @@ SGML_CATALOGS= ${PREFIX}/share/sgml/ope @@ -26,28 +26,28 @@ SGML_CATALOGS= ${PREFIX}/share/sgml/ope
26 26
27OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade 27OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
28OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade 28OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
29 29
30AUTO_MKDIRS= yes 30AUTO_MKDIRS= yes
31INSTALL_TARGET= install install-man 31INSTALL_TARGET= install install-man
32 32
33 33
34# openjade has incorrect code: 34# openjade has incorrect code:
35# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9 35# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9
36# 36#
37# Because of code in openjade that does not conform to standards, some 37# Because of code in openjade that does not conform to standards, some
38# versions of gcc produce an openjade binary that segfaults. Examples 38# versions of gcc produce an openjade binary that segfaults. Examples
39# are building postgresql95-docs (gcc version ?) and building the 39# are building postgresql95-docs (gcc version >=6) and building the
40# pkgsrc guide (gcc 7 and 8 on NetBSD/amd). 40# pkgsrc guide (gcc 7 and 8 on NetBSD/amd64).
41# 41#
42# Bug report about openjade built with gcc crashing for postgresql 42# Bug report about openjade built with gcc crashing for postgresql
43# https://bugzilla.redhat.com/show_bug.cgi?id=1306162 43# https://bugzilla.redhat.com/show_bug.cgi?id=1306162
44# 44#
45# Work around the openjade bug by asking gcc not to eliminate the dead 45# Work around the openjade bug by asking gcc not to eliminate the dead
46# stores that openjade relies on. 46# stores that openjade relies on.
47# 47#
48# Similar problems are seen with clang, so also mark the variable as 48# Similar problems are seen with clang, so also mark the variable as
49# volatile. 49# volatile.
50# 50#
51.include "../../mk/compiler.mk" 51.include "../../mk/compiler.mk"
52.if !empty(PKGSRC_COMPILER:Mgcc) 52.if !empty(PKGSRC_COMPILER:Mgcc)
53CFLAGS+= -fno-tree-dse 53CFLAGS+= -fno-tree-dse