From cad904aab1385d40087f724a19aabbd54e557a0c Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sun, 18 May 2003 09:22:25 +0000
Subject: BROKEN on 5.1: bad C++ code

---
 math/qscanplot/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'math/qscanplot')

diff --git a/math/qscanplot/Makefile b/math/qscanplot/Makefile
index e736d863661d..32467c7f6a3c 100644
--- a/math/qscanplot/Makefile
+++ b/math/qscanplot/Makefile
@@ -15,6 +15,12 @@ COMMENT=	A program to extract data from scanned plots, graphs and figures
 
 BUILD_DEPENDS=	tmake:${PORTSDIR}/devel/tmake
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500113
+BROKEN=         "Does not compile (bad C++ code)"
+.endif
+
 USE_X_PREFIX=	yes
 USE_QT_VER=	2
 USE_GMAKE=	yes
@@ -28,4 +34,4 @@ post-patch:
 	@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
 		${WRKSRC}/qscanplot/templates/sample.qscanplotrc
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit v1.2.3