only use this workaround with gcc2

This commit is contained in:
brad 2004-04-20 22:36:17 +00:00
parent 3536e1c665
commit 8266e0e3db
2 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2004/04/18 09:21:04 sturm Exp $
# $OpenBSD: Makefile,v 1.15 2004/04/20 22:36:17 brad Exp $
COMMENT= "object-oriented SGML/XML parser toolkit and DSSSL engine"
@ -10,7 +10,7 @@ HOMEPAGE= http://openjade.sourceforge.net/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
# BSD-like
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -30,6 +30,14 @@ SGMLFILES= fot.dtd catalog dsssl.dtd style-sheet.dtd builtins.dsl \
VMEM_WARNING= Yes
NO_REGRESS= Yes
.include <bsd.own.mk>
USE_GCC3?= No
.if ${USE_GCC3:L} == "no"
PATCH_LIST= patch-* gcc-*
.endif
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/sp
${INSTALL_DATA_DIR} ${DOCDIR}/images

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-style_Makefile.sub,v 1.2 2002/07/28 06:59:49 brad Exp $
$OpenBSD: gcc-patch-style_Makefile.sub,v 1.1 2004/04/20 22:36:17 brad Exp $
--- style/Makefile.sub.orig Wed Sep 1 03:25:59 1999
+++ style/Makefile.sub Sun Jul 28 02:59:43 2002
@@ -33,6 +33,7 @@ GENSRCS=style_inst.cxx FlowObj_inst.cxx