svn commit: r420704 - in head/textproc/soothsayer: . files
John Marino
marino at FreeBSD.org
Tue Aug 23 15:58:46 UTC 2016
Author: marino
Date: Tue Aug 23 15:58:43 2016
New Revision: 420704
URL: https://svnweb.freebsd.org/changeset/ports/420704
Log:
textproc/soothsayer: fix ncurses, missing c++ headers, not jobs safe
Added:
head/textproc/soothsayer/files/patch-src_lib_core_profileManager.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_lib_core_utility.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_lib_plugins_plugin.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedCountPlugin.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedNgramPlugin.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_tools_soothsayerDemo.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_tools_soothsayerDemoText.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_tools_soothsayerSimulator.cpp (contents, props changed)
head/textproc/soothsayer/files/patch-src_tools_text2ngram.cpp (contents, props changed)
Deleted:
head/textproc/soothsayer/files/patch-src__lib__core__profileManager.cpp
head/textproc/soothsayer/files/patch-src__lib__core__utility.cpp
Modified:
head/textproc/soothsayer/Makefile
Modified: head/textproc/soothsayer/Makefile
==============================================================================
--- head/textproc/soothsayer/Makefile Tue Aug 23 15:38:11 2016 (r420703)
+++ head/textproc/soothsayer/Makefile Tue Aug 23 15:58:43 2016 (r420704)
@@ -3,7 +3,7 @@
PORTNAME= soothsayer
PORTVERSION= 0.6.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/presage/${PORTNAME}/${PORTVERSION}
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
BUILD_DEPENDS= help2man:misc/help2man
-USES= libtool pkgconfig sqlite
+USES= libtool localbase ncurses pkgconfig sqlite
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_CPPUNIT_CONFIG=no \
ac_cv_path_PYTHON=no \
@@ -25,16 +25,17 @@ CONFIGURE_ARGS= --disable-python-binding
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's|\$$\^|$${.ALLSRC}| ; \
s|lib/soothsayer|soothsayer|g' ${WRKSRC}/resources/Makefile.in
@${REINPLACE_CMD} -e 's|lib/soothsayer|soothsayer|' \
+ -e 's at lcurses@lncurses at g' \
${WRKSRC}/resources/profiles/Makefile.in
@${REINPLACE_CMD} -E -e "s|(LIBS=.*)-lsqlite3(.*)|\1\`pkg-config --static --libs sqlite3\`\2|" \
-e "s|(.*SQLITE_LIBS=.*)-lsqlite3(.*)|\1\`pkg-config --static --libs sqlite3\`\2|" \
+ -e 's at lcurses@lncurses at g' \
${WRKSRC}/configure
.include <bsd.port.mk>
Added: head/textproc/soothsayer/files/patch-src_lib_core_profileManager.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_lib_core_profileManager.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,11 @@
+--- src/lib/core/profileManager.cpp.orig 2008-06-02 13:29:06 UTC
++++ src/lib/core/profileManager.cpp
+@@ -31,6 +31,8 @@
+ #endif
+
+ #include <stdlib.h>
++#include <unistd.h>
++#include <sys/types.h>
+
+ /** Constructor.
+ *
Added: head/textproc/soothsayer/files/patch-src_lib_core_utility.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_lib_core_utility.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,11 @@
+--- src/lib/core/utility.cpp.orig 2008-06-02 13:29:06 UTC
++++ src/lib/core/utility.cpp
+@@ -22,6 +22,8 @@
+ **********(*)*/
+
+ #include "utility.h"
++#include <cstdlib>
++#include <cstring>
+
+
+ /** Convert string to lower case
Added: head/textproc/soothsayer/files/patch-src_lib_plugins_plugin.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_lib_plugins_plugin.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/lib/plugins/plugin.cpp.orig 2008-06-02 13:29:01 UTC
++++ src/lib/plugins/plugin.cpp
+@@ -22,6 +22,7 @@
+ **********(*)*/
+
+ #include "plugins/plugin.h"
++#include <cstdlib>
+
+ /** Creates a plugin object.
+ *
Added: head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedCountPlugin.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedCountPlugin.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/lib/plugins/smoothedCountPlugin.cpp.orig 2008-06-02 13:29:01 UTC
++++ src/lib/plugins/smoothedCountPlugin.cpp
+@@ -22,6 +22,7 @@
+ **********(*)*/
+
+ #include "plugins/smoothedCountPlugin.h"
++#include <cstring>
+
+
+ SmoothedCountPlugin::SmoothedCountPlugin(Configuration* config, ContextTracker* ct)
Added: head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedNgramPlugin.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_lib_plugins_smoothedNgramPlugin.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/lib/plugins/smoothedNgramPlugin.cpp.orig 2008-06-02 13:29:01 UTC
++++ src/lib/plugins/smoothedNgramPlugin.cpp
+@@ -23,6 +23,7 @@
+
+ #include "plugins/smoothedNgramPlugin.h"
+ #include <sstream>
++#include <algorithm>
+
+
+ SmoothedNgramPlugin::SmoothedNgramPlugin(Configuration* config, ContextTracker* ct)
Added: head/textproc/soothsayer/files/patch-src_tools_soothsayerDemo.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_tools_soothsayerDemo.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/tools/soothsayerDemo.cpp.orig 2008-06-02 13:29:00 UTC
++++ src/tools/soothsayerDemo.cpp
+@@ -36,6 +36,7 @@
+
+ #include <iostream>
+ #include <sstream>
++#include <cstdlib>
+ #include <getopt.h>
+ #include <list>
+
Added: head/textproc/soothsayer/files/patch-src_tools_soothsayerDemoText.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_tools_soothsayerDemoText.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/tools/soothsayerDemoText.cpp.orig 2008-06-02 13:29:00 UTC
++++ src/tools/soothsayerDemoText.cpp
+@@ -26,6 +26,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <getopt.h>
++#include <cstdlib>
+
+ const char PROGRAM_NAME[] = "soothsayerDemoText";
+
Added: head/textproc/soothsayer/files/patch-src_tools_soothsayerSimulator.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_tools_soothsayerSimulator.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/tools/soothsayerSimulator.cpp.orig 2008-06-02 13:29:00 UTC
++++ src/tools/soothsayerSimulator.cpp
+@@ -23,6 +23,7 @@
+
+ #include <iostream>
+ #include <fstream>
++#include <cstdlib>
+ #include <string.h>
+
+ #include <getopt.h>
Added: head/textproc/soothsayer/files/patch-src_tools_text2ngram.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/soothsayer/files/patch-src_tools_text2ngram.cpp Tue Aug 23 15:58:43 2016 (r420704)
@@ -0,0 +1,10 @@
+--- src/tools/text2ngram.cpp.orig 2008-06-02 13:29:00 UTC
++++ src/tools/text2ngram.cpp
+@@ -29,6 +29,7 @@
+ #include <list>
+ #include <string>
+ #include <map>
++#include <cstdlib>
+
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
More information about the svn-ports-all
mailing list