pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/openjade
Module Name: pkgsrc
Committed By: maya
Date: Wed Aug 2 12:13:34 UTC 2017
Modified Files:
pkgsrc/textproc/openjade: Makefile
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/openjade/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/openjade/Makefile
diff -u pkgsrc/textproc/openjade/Makefile:1.29 pkgsrc/textproc/openjade/Makefile:1.30
--- pkgsrc/textproc/openjade/Makefile:1.29 Sat Jul 9 06:39:07 2016
+++ pkgsrc/textproc/openjade/Makefile Wed Aug 2 12:13:34 2017
@@ -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 @@ INSTALLATION_DIRS= ${OPENJADE_DATA_DIR}/
${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