aboutsummaryrefslogtreecommitdiff
path: root/devel/kaptain
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-05 10:04:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-05 10:04:24 +0000
commit4d5f7f839688e3da50f800d987acb3f7a1a27c81 (patch)
treec9f8d3dfae67b8c2ff803ea8e15f1b66488c9237 /devel/kaptain
parent9e988e2e8e4a32c4f33343c8edf820b8538c76f9 (diff)
downloadports-4d5f7f839688e3da50f800d987acb3f7a1a27c81.tar.gz
ports-4d5f7f839688e3da50f800d987acb3f7a1a27c81.zip
Notes
Diffstat (limited to 'devel/kaptain')
-rw-r--r--devel/kaptain/Makefile11
-rw-r--r--devel/kaptain/files/patch-kaptain-intermediate.h10
2 files changed, 12 insertions, 9 deletions
diff --git a/devel/kaptain/Makefile b/devel/kaptain/Makefile
index 76022771252f..e7b2056fa5f5 100644
--- a/devel/kaptain/Makefile
+++ b/devel/kaptain/Makefile
@@ -11,8 +11,7 @@ PORTNAME= kaptain
PORTVERSION= 0.72
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for building/running QT GUIs for commmand line programs
@@ -27,12 +26,6 @@ CONFIGURE_ARGS= --enable-mt \
MAN1= kaptain.1
INFO= kaptain
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
-
post-extract:
@${RM} -f ${WRKSRC}/doc/*.info*
@@ -40,4 +33,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/examples/dia2code.kaptn
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/kaptain/files/patch-kaptain-intermediate.h b/devel/kaptain/files/patch-kaptain-intermediate.h
new file mode 100644
index 000000000000..c70e6ceb6348
--- /dev/null
+++ b/devel/kaptain/files/patch-kaptain-intermediate.h
@@ -0,0 +1,10 @@
+--- kaptain/intermediate.h.orig 2004-09-11 16:07:54.000000000 +0200
++++ kaptain/intermediate.h 2007-11-02 11:23:46.000000000 +0100
+@@ -7,6 +7,7 @@
+ using namespace std;
+
+ class Grammar;
++class Kaptain;
+ class Rule;
+ class Conjunction;
+ class Parameter;