Permalink
Browse files

- Stagify

- Fix pcre
- Mark BROKEN with clang
- Add license.
  • Loading branch information...
thierry-FreeBSD committed Jul 21, 2014
1 parent 073f5ba commit 1a7f993cbdb3becb3eba6f19c88e299a8169f0b9
Showing with 24 additions and 6 deletions.
  1. +14 −6 databases/tora/Makefile
  2. +10 −0 databases/tora/files/patch-src_topiechart.h
View
@@ -3,14 +3,16 @@
PORTNAME= tora
PORTVERSION= 2.1.3
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Toolkit for Oracle
+LICENSE= GPLv2
+
BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit
LIB_DEPENDS= libqscintilla2.so:${PORTSDIR}/devel/qscintilla2 \
libpcre.so:${PORTSDIR}/devel/pcre
@@ -19,16 +21,22 @@ OPTIONS_DEFINE= PGSQL MYSQL DOCS
OPTIONS_DEFINE_i386= ORACLE
OPTIONS_DEFAULT= PGSQL MYSQL
-USE_AUTOTOOLS= aclocal automake autoconf autoheader libtool
+USE_AUTOTOOLS= aclocal automake autoconf autoheader libtoolize
USE_QT4= gui corelib sql xml network linguist moc_build uic_build rcc_build
-USES= gmake
+USES= gmake libtool
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-pcre=${LOCALBASE}
+LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
PREFIX2FIX= doc/help/preferences.texi doc/help/preferences.html
-NO_STAGE= yes
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024
+BROKEN= Does not compile with clang (include <list>)
+.endif
+
.if ${PORT_OPTIONS:MDOCS}
USES+= makeinfo
INFO= tora
@@ -56,10 +64,10 @@ run-autotools:
pre-configure:
.if ${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' \
+ ${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' \
${PREFIX2FIX:S|^|${WRKSRC}/|}
.else
- @${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
+ ${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
.endif
.include <bsd.port.mk>
@@ -0,0 +1,10 @@
+--- ./src/topiechart.h.orig 2009-10-23 18:19:33.000000000 +0200
++++ ./src/topiechart.h 2014-07-21 19:25:58.000000000 +0200
+@@ -44,6 +44,7 @@
+
+ #include "config.h"
+
++#include <time.h>
+ #include <list>
+ #include <qwidget.h>
+

0 comments on commit 1a7f993

Please sign in to comment.