| @@ -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 | |
3 | DISTNAME= openjade-1.3.2 | | 3 | DISTNAME= openjade-1.3.2 |
4 | PKGREVISION= 18 | | 4 | PKGREVISION= 18 |
5 | CATEGORIES= textproc | | 5 | CATEGORIES= textproc |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/} |
7 | | | 7 | |
8 | MAINTAINER= kogule@mars.dti.ne.jp | | 8 | MAINTAINER= kogule@mars.dti.ne.jp |
9 | HOMEPAGE= http://openjade.sourceforge.net/ | | 9 | HOMEPAGE= http://openjade.sourceforge.net/ |
10 | COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade" | | 10 | COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade" |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | MAKE_JOBS_SAFE= no | | 13 | MAKE_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 | |
27 | OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade | | 27 | OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade |
28 | OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade | | 28 | OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade |
29 | | | 29 | |
30 | AUTO_MKDIRS= yes | | 30 | AUTO_MKDIRS= yes |
31 | INSTALL_TARGET= install install-man | | 31 | INSTALL_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) |
53 | CFLAGS+= -fno-tree-dse | | 53 | CFLAGS+= -fno-tree-dse |