summaryrefslogtreecommitdiff
path: root/devel/clint
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-07 03:13:23 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-07 03:13:23 +0000
commit9a3cda351de73c93353ce8f232c767a159dce66f (patch)
tree13cb5e48957069109a3293f29825ea0313db6f00 /devel/clint
parentUse posix syntax for chown (diff)
1. fix compile on GCC 3.2
2. add missing files in plist 3. drop maintainership Submitted by: Craig Rodrigues <rodrigc@attbi.com> (1) (2)
Notes
Notes: svn path=/head/; revision=65757
Diffstat (limited to 'devel/clint')
-rw-r--r--devel/clint/Makefile3
-rw-r--r--devel/clint/files/patch-input.cc33
-rw-r--r--devel/clint/files/patch-python.h24
-rw-r--r--devel/clint/pkg-plist2
4 files changed, 61 insertions, 1 deletions
diff --git a/devel/clint/Makefile b/devel/clint/Makefile
index 4e6d9ccce444..8232126e9e5f 100644
--- a/devel/clint/Makefile
+++ b/devel/clint/Makefile
@@ -8,11 +8,12 @@
PORTNAME= clint
PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
USE_PYTHON= yes
GNU_CONFIGURE= yes
diff --git a/devel/clint/files/patch-input.cc b/devel/clint/files/patch-input.cc
new file mode 100644
index 000000000000..948a7e563837
--- /dev/null
+++ b/devel/clint/files/patch-input.cc
@@ -0,0 +1,33 @@
+--- src/input.cc.orig Fri Sep 6 22:17:58 2002
++++ src/input.cc Fri Sep 6 22:21:11 2002
+@@ -70,17 +70,17 @@
+ std::string Input::parse_cpp(std::string line) {
+ if (line[0] == '#') {
+ #ifdef HAVE_SSTREAM
+- istringstream in(line);
++ std::istringstream in(line);
+ #else
+ istrstream in(line.c_str());
+ #endif // HAVE_SSTREAM
+ in.get(); // remove '#'
+- string command;
++ std::string command;
+ while (isalnum(in.peek()) && not in.eof()){
+ command+=in.get();
+ }
+- cerr << "line = \"" << line << "\" command = \"" << command << "\" ";
+- if (command == string("include") ) {
++ std::cerr << "line = \"" << line << "\" command = \"" << command << "\" ";
++ if (command == std::string("include") ) {
+ } else if ( command == "define" ) {
+ } else if ( command == "undef" ) {
+ } else if ( command == "if" ) {
+@@ -101,7 +101,7 @@
+ // Apparently this is valid
+ // Ignore this
+ } else {
+- cerr << "Unknown preprocessor macro" << endl;
++ std::cerr << "Unknown preprocessor macro" << std::endl;
+ }
+ }
+ return line;
diff --git a/devel/clint/files/patch-python.h b/devel/clint/files/patch-python.h
new file mode 100644
index 000000000000..8b204a313795
--- /dev/null
+++ b/devel/clint/files/patch-python.h
@@ -0,0 +1,24 @@
+--- lib/python/python.h.orig Fri Sep 6 21:53:18 2002
++++ lib/python/python.h Fri Sep 6 21:56:38 2002
+@@ -12,13 +12,17 @@
+ #include "debug.h"
+
+ // I hate #define macros, seee if I can remove this
+-#define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 1
++#define STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR 1
+ #ifdef MS_WIN32
+-# undef STANDARD_LIBRARY_HAS_ITERATOR_TRAITS
+-# define STANDARD_LIBRARY_HAS_ITERATOR_TRAITS 0
++# undef STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
++# define STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR 0
+ #endif
+
+-#if STANDARD_LIBRARY_HAS_ITERATOR_TRAITS
++#if defined (__GNUG__) && (__GNUG__ >= 3)
++# undef STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
++#endif
++
++#if STANDARD_LIBRARY_HAS_RANDOM_ACCESS_ITERATOR
+ # define random_access_iterator_parent(itemtype) std::random_access_iterator<itemtype, int>
+ #else
+ # define random_access_iterator_parent(itemtype) std::iterator<std::random_access_iterator_tag,itemtype,int>
diff --git a/devel/clint/pkg-plist b/devel/clint/pkg-plist
index 9aea0bfc3044..5aa20a7620c7 100644
--- a/devel/clint/pkg-plist
+++ b/devel/clint/pkg-plist
@@ -7,6 +7,8 @@ info/clint.info
@exec install-info %D/info/clint.info %D/info/dir
lib/clint/python.a
lib/clint/python.la
+lib/clint/python.so
+lib/clint/python.so.0
lib/libpython++.a
lib/libpython++.la
lib/libpython++.so