pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/libcassandra Import libcassandra version 201...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3f9764dfe63
branches:  trunk
changeset: 574988:d3f9764dfe63
user:      tonnerre <tonnerre%pkgsrc.org@localhost>
date:      Sat May 01 15:09:44 2010 +0000

description:
Import libcassandra version 20100501.

libcassandra is a C++ client API for Apache Cassandra. The standard
front-end (in the sense of "language binding") for writing C++ programs
that use Cassandra.

diffstat:

 databases/libcassandra/DESCR            |   2 +
 databases/libcassandra/Makefile         |  27 +++++++++
 databases/libcassandra/PLIST            |  11 +++
 databases/libcassandra/buildlink3.mk    |  13 ++++
 databases/libcassandra/distinfo         |   6 ++
 databases/libcassandra/patches/patch-aa |  94 +++++++++++++++++++++++++++++++++
 6 files changed, 153 insertions(+), 0 deletions(-)

diffs (177 lines):

diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/DESCR      Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,2 @@
+C++ client API for Apache Cassandra. The standard front-end (in the sense
+of "language binding") for writing C++ programs that use Cassandra.
diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/Makefile   Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/01 15:09:44 tonnerre Exp $
+#
+
+DISTNAME=              libcassandra-20100501
+CATEGORIES=            databases
+MASTER_SITES=          ftp://ftp.ancient-solutions.com/pub/bsdprojects/NetBSD/packages/distfiles/
+
+MAINTAINER=            tonnerre%NetBSD.org@localhost
+HOMEPAGE=              http://github.com/posulliv/libcassandra/
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+COMMENT=               C++ interface to Cassandra
+
+USE_LANGUAGES=         c c++
+USE_LIBTOOL=           yes
+GNU_CONFIGURE=         yes
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/libthrift/buildlink3.mk"
+
+.include "../../mk/bsd.prefs.mk"
+
+CONFIGURE_ARGS+=       CPPFLAGS="-I${BUILDLINK_PREFIX.libthrift:Q}/include/thrift -I${BUILDLINK_PREFIX.boost-headers}/include/boost"
+MAKE_ENV+=             AM_DEFAULT_VERBOSITY=1
+
+.include "../../mk/bsd.pkg.mk"
diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/PLIST      Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/01 15:09:44 tonnerre Exp $
+include/libcassandra/cassandra.h
+include/libcassandra/cassandra_factory.h
+include/libcassandra/exception.h
+include/libcassandra/keyspace.h
+include/libcassandra/keyspace_factory.h
+include/libgenthrift/Cassandra.h
+include/libgenthrift/cassandra_constants.h
+include/libgenthrift/cassandra_types.h
+lib/libcassandra.la
+lib/libgenthrift.la
diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/buildlink3.mk      Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/01 15:09:44 tonnerre Exp $
+
+BUILDLINK_TREE+=       libcassandra
+
+.if !defined(LIBCASSANDRA_BUILDLINK3_MK)
+LIBCASSANDRA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcassandra+=   libcassandra>=20100501
+BUILDLINK_ABI_DEPENDS.libcassandra?=   libcassandra>=20100501
+BUILDLINK_PKGSRCDIR.libcassandra?=     ../../databases/libcassandra
+.endif # LIBCASSANDRA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libcassandra
diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/distinfo   Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/01 15:09:44 tonnerre Exp $
+
+SHA1 (libcassandra-20100501.tar.gz) = 95136e5cd96f2bc63cd170b791e23853edde6fde
+RMD160 (libcassandra-20100501.tar.gz) = ceaa80c5a9abab7d5a0c0a42e19bd303799cb483
+Size (libcassandra-20100501.tar.gz) = 1081501 bytes
+SHA1 (patch-aa) = e1845f5d62862c778fd249598bbfc7a6bd098788
diff -r 21ebd31e5d6d -r d3f9764dfe63 databases/libcassandra/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/libcassandra/patches/patch-aa   Sat May 01 15:09:44 2010 +0000
@@ -0,0 +1,94 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/01 15:09:44 tonnerre Exp $
+
+--- configure.orig     2010-04-30 23:25:08.000000000 +0000
++++ configure
+@@ -17830,7 +17830,7 @@ if test "${ac_cv_safe_to_use_wconversion
+   $as_echo_n "(cached) " >&6
+ else
+   save_CFLAGS="$CFLAGS"
+-                     CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}"
++                     CFLAGS="-Wconversion -Werror ${AM_CFLAGS} ${CFLAGS}"
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -17869,7 +17869,7 @@ if test "${ac_cv_safe_to_use_Wconversion
+   $as_echo_n "(cached) " >&6
+ else
+   save_CFLAGS="$CFLAGS"
+-                           CFLAGS="-Wconversion -Werror -pedantic ${AM_CFLAGS} ${CFLAGS}"
++                           CFLAGS="-Wconversion -Werror ${AM_CFLAGS} ${CFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -17929,7 +17929,7 @@ if test "${ac_cv_safe_to_use_Wextra_+set
+   $as_echo_n "(cached) " >&6
+ else
+   save_CFLAGS="$CFLAGS"
+-         CFLAGS="${W_FAIL} -pedantic -Wextra ${AM_CFLAGS} ${CFLAGS}"
++         CFLAGS="${W_FAIL} -Wextra ${AM_CFLAGS} ${CFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -17956,7 +17956,7 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_use_Wextra_" >&5
+ $as_echo "$ac_cv_safe_to_use_Wextra_" >&6; }
+ 
+-      BASE_WARNINGS="${W_FAIL} -pedantic -Wall -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${CFLAG_VISIBILITY} ${BASE_WARNINGS_FULL}"
++      BASE_WARNINGS="${W_FAIL} -Wall -Wundef -Wshadow ${NO_UNUSED} ${F_DIAGNOSTICS_SHOW_OPTION} ${CFLAG_VISIBILITY} ${BASE_WARNINGS_FULL}"
+       if test "$ac_cv_safe_to_use_Wextra_" = "yes"; then :
+   BASE_WARNINGS="${BASE_WARNINGS} -Wextra"
+ else
+@@ -17978,7 +17978,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXX
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+          save_CXXFLAGS="$CXXFLAGS"
+-         CXXFLAGS="-Werror -pedantic -Wmissing-declarations ${AM_CXXFLAGS}"
++         CXXFLAGS="-Werror -Wmissing-declarations ${AM_CXXFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -18021,7 +18021,7 @@ if test "${ac_cv_safe_to_use_Wlogical_op
+   $as_echo_n "(cached) " >&6
+ else
+   save_CFLAGS="$CFLAGS"
+-         CFLAGS="${W_FAIL} -pedantic -Wlogical-op ${AM_CFLAGS} ${CFLAGS}"
++         CFLAGS="${W_FAIL} -Wlogical-op ${AM_CFLAGS} ${CFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -18063,7 +18063,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXX
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+          save_CXXFLAGS="${CXXFLAGS}"
+-         CXXFLAGS="${W_FAIL} -pedantic -Wredundant-decls ${AM_CXXFLAGS}"
++         CXXFLAGS="${W_FAIL} -Wredundant-decls ${AM_CXXFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -18113,7 +18113,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXX
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+          save_CXXFLAGS="${CXXFLAGS}"
+-         CXXFLAGS="${W_FAIL} -pedantic -Wattributes -fvisibility=hidden ${AM_CXXFLAGS}"
++         CXXFLAGS="${W_FAIL} -Wattributes -fvisibility=hidden ${AM_CXXFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -18171,7 +18171,7 @@ if test "${ac_cv_safe_to_use_Wno_attribu
+   $as_echo_n "(cached) " >&6
+ else
+   save_CFLAGS="$CFLAGS"
+-         CFLAGS="${W_FAIL} -pedantic -Wno_attributes_ ${AM_CFLAGS} ${CFLAGS}"
++         CFLAGS="${W_FAIL} -Wno_attributes_ ${AM_CFLAGS} ${CFLAGS}"
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -23315,6 +23315,8 @@ do
+   case $ac_option in
+   # Handling of the options.
+   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
++      : Avoid regenerating within pkgsrc
++      exit 0
+     ac_cs_recheck=: ;;
+   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+     $as_echo "$ac_cs_version"; exit ;;



Home | Main Index | Thread Index | Old Index