Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 21:19:04 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362494 - in head/databases/tora: . files
Message-ID:  <201407212119.s6LLJ4Ri048822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Mon Jul 21 21:19:04 2014
New Revision: 362494
URL: http://svnweb.freebsd.org/changeset/ports/362494
QAT: https://qat.redports.org/buildarchive/r362494/

Log:
  - Stagify
  - Fix pcre
  - Mark BROKEN with clang
  - Add license.

Added:
  head/databases/tora/files/patch-src_topiechart.h   (contents, props changed)
Modified:
  head/databases/tora/Makefile

Modified: head/databases/tora/Makefile
==============================================================================
--- head/databases/tora/Makefile	Mon Jul 21 21:19:03 2014	(r362493)
+++ head/databases/tora/Makefile	Mon Jul 21 21:19:04 2014	(r362494)
@@ -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>

Added: head/databases/tora/files/patch-src_topiechart.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/tora/files/patch-src_topiechart.h	Mon Jul 21 21:19:04 2014	(r362494)
@@ -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>
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407212119.s6LLJ4Ri048822>