diff options
author | miwi <miwi@FreeBSD.org> | 2007-11-05 18:04:24 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-11-05 18:04:24 +0800 |
commit | beb50c1573f8da16c8b547bd748f582478221c40 (patch) | |
tree | db8a87b4ba13f0e18da00a74d1010f55d89a1361 /devel/kaptain | |
parent | 25140202fc745688c636a0eab6dffbaa9675daff (diff) | |
download | freebsd-ports-gnome-beb50c1573f8da16c8b547bd748f582478221c40.tar.gz freebsd-ports-gnome-beb50c1573f8da16c8b547bd748f582478221c40.tar.zst freebsd-ports-gnome-beb50c1573f8da16c8b547bd748f582478221c40.zip |
- Fix build with gcc 4.2
- Use SF macro
PR: 117760
Submitted by: pietro cerutti <gahr@gahr.ch>
Approved by: portmgr (pav)
Diffstat (limited to 'devel/kaptain')
-rw-r--r-- | devel/kaptain/Makefile | 11 | ||||
-rw-r--r-- | devel/kaptain/files/patch-kaptain-intermediate.h | 10 |
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; |