pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/openjade openjade: Add a hack to fix the buil...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1661b77cbac9
branches: trunk
changeset: 366085:1661b77cbac9
user: maya <maya%pkgsrc.org@localhost>
date: Wed Aug 02 12:13:34 2017 +0000
description:
openjade: Add a hack to fix the build of postgresql95-docs if built with GCC>6.
The openjade code is wrong, see analysis at:
https://bugzilla.redhat.com/show_bug.cgi?id=1306162
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9
>From Thomas Orgis
diffstat:
textproc/openjade/Makefile | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r e815f27c2e68 -r 1661b77cbac9 textproc/openjade/Makefile
--- a/textproc/openjade/Makefile Wed Aug 02 11:10:29 2017 +0000
+++ b/textproc/openjade/Makefile Wed Aug 02 12:13:34 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2016/07/09 06:39:07 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2017/08/02 12:13:34 maya Exp $
DISTNAME= openjade-1.3.2
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
@@ -31,6 +31,14 @@
${OPENJADE_DOC_DIR}/doc \
${OPENJADE_DOC_DIR}/jadedoc/images
+.include "../../mk/compiler.mk"
+# Segfaults building postgresql95-docs. see:
+# https://bugzilla.redhat.com/show_bug.cgi?id=1306162
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534#c9
+.if ${PKGSRC_COMPILER} == "gcc"
+CFLAGS+= -fno-tree-dse
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${DESTDIR}${OPENJADE_DATA_DIR}
${INSTALL_DATA} ${WRKSRC}/pubtext/* ${DESTDIR}${OPENJADE_DATA_DIR}/pubtext
Home |
Main Index |
Thread Index |
Old Index