aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-07-22 05:19:04 +0800
committerthierry <thierry@FreeBSD.org>2014-07-22 05:19:04 +0800
commit1a7f993cbdb3becb3eba6f19c88e299a8169f0b9 (patch)
treede94e7f641a4da392a7774a8d77b3393fc685542
parent073f5ba382780c3c3ecdced4fe9cceca81fc17f7 (diff)
downloadfreebsd-ports-gnome-1a7f993cbdb3becb3eba6f19c88e299a8169f0b9.tar.gz
freebsd-ports-gnome-1a7f993cbdb3becb3eba6f19c88e299a8169f0b9.tar.zst
freebsd-ports-gnome-1a7f993cbdb3becb3eba6f19c88e299a8169f0b9.zip
- Stagify
- Fix pcre - Mark BROKEN with clang - Add license.
-rw-r--r--databases/tora/Makefile20
-rw-r--r--databases/tora/files/patch-src_topiechart.h10
2 files changed, 24 insertions, 6 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 4f55d3fff768..1af3a52fee36 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tora
PORTVERSION= 2.1.3
-PORTREVISION= 5
+PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= SF
@@ -11,6 +11,8 @@ 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>
diff --git a/databases/tora/files/patch-src_topiechart.h b/databases/tora/files/patch-src_topiechart.h
new file mode 100644
index 000000000000..31a384d9647a
--- /dev/null
+++ b/databases/tora/files/patch-src_topiechart.h
@@ -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>
+