[csw-devel] SF.net SVN: gar:[17723] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Apr 17 16:33:46 CEST 2012


Revision: 17723
          http://gar.svn.sourceforge.net/gar/?rev=17723&view=rev
Author:   dmichelsen
Date:     2012-04-17 14:33:45 +0000 (Tue, 17 Apr 2012)
Log Message:
-----------
cppunit/trunk: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/cppunit/
    csw/mgar/pkg/cppunit/Makefile
    csw/mgar/pkg/cppunit/branches/
    csw/mgar/pkg/cppunit/tags/
    csw/mgar/pkg/cppunit/trunk/
    csw/mgar/pkg/cppunit/trunk/Makefile
    csw/mgar/pkg/cppunit/trunk/checksums
    csw/mgar/pkg/cppunit/trunk/files/
    csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-fabs.patch
    csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-ieeefp.h.patch

Added: csw/mgar/pkg/cppunit/Makefile
===================================================================
--- csw/mgar/pkg/cppunit/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cppunit/Makefile	2012-04-17 14:33:45 UTC (rev 17723)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/cppunit/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/cppunit/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cppunit/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/cppunit/trunk/Makefile	2012-04-17 14:33:45 UTC (rev 17723)
@@ -0,0 +1,48 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = cppunit
+VERSION = 1.12.1
+GARTYPE = v2
+CATEGORIES = devel
+
+DESCRIPTION = C++ port of JUnit
+
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(DISTNAME).tar.gz
+
+# Use patch until this is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=3483396&group_id=11795&atid=111795
+PATCHFILES += cppunit-1.12.1-configure.in-ieeefp.h.patch
+
+# Use patch until this is fixed:
+#   http://sourceforge.net/tracker/?func=detail&aid=3483400&group_id=11795&atid=111795
+PATCHFILES += cppunit-1.12.1-configure.in-fabs.patch
+
+PACKAGES += CSWlibcppunit1-12-1-gxx
+SPKG_DESC_CSWlibcppunit1-12-1-gxx = C++ port of JUnit, libcppunit-1.12.so.1
+PKGFILES_CSWlibcppunit1-12-1-gxx += $(call pkgfiles_lib,libcppunit-1.12.so.1)
+RUNTIME_DEP_PKGS_CSWlibcppunit1-12-1-gxx += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibcppunit1-12-1-gxx += CSWlibstdc++6
+
+PACKAGES += CSWcppunit-gxx-dev
+SPKG_DESC_CSWcppunit-gxx-dev = Development files C++ port of JUnit
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWcppunit-gxx-dev += CSWlibcppunit1-12-1-gxx
+RUNTIME_DEP_PKGS_CSWcppunit-gxx-dev += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWcppunit-gxx-dev += CSWlibstdc++6
+
+# This is just an example
+CHECKPKG_OVERRIDES_CSWcppunit-gxx-dev += file-with-bad-content|/usr/local|root/opt/csw/gxx/share/doc/cppunit/money_example.html
+
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+prefix = $(BUILD_PREFIX)/gxx
+GARCOMPILER = GNU
+
+BUILD64 = 1
+
+include gar/category.mk
+
+post-patch-modulated:
+	-cd $(WORKSRC) && autoreconf -fi
+	@$(MAKECOOKIE)


Property changes on: csw/mgar/pkg/cppunit/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/cppunit/trunk/checksums
===================================================================
--- csw/mgar/pkg/cppunit/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/cppunit/trunk/checksums	2012-04-17 14:33:45 UTC (rev 17723)
@@ -0,0 +1 @@
+bd30e9cf5523cdfc019b94f5e1d7fd19  cppunit-1.12.1.tar.gz

Added: csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-fabs.patch
===================================================================
--- csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-fabs.patch	                        (rev 0)
+++ csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-fabs.patch	2012-04-17 14:33:45 UTC (rev 17723)
@@ -0,0 +1,10 @@
+--- cppunit-1.12.1.orig/configure.in	2008-02-19 23:59:25.000000000 -0600
++++ cppunit-1.12.1/configure.in	2012-02-02 17:36:56.215835516 -0600
+@@ -88,6 +89,7 @@
+ AC_CXX_HAVE_STRSTREAM
+ AX_CXX_HAVE_ISFINITE
+ AC_CHECK_FUNCS(finite)
++AC_CHECK_LIB([m],[fabs])
+ 
+ cppunit_val='CPPUNIT_HAVE_RTTI'
+ AC_ARG_ENABLE(typeinfo-name,

Added: csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-ieeefp.h.patch
===================================================================
--- csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-ieeefp.h.patch	                        (rev 0)
+++ csw/mgar/pkg/cppunit/trunk/files/cppunit-1.12.1-configure.in-ieeefp.h.patch	2012-04-17 14:33:45 UTC (rev 17723)
@@ -0,0 +1,24 @@
+diff -ur cppunit-1.12.1.orig/configure.in cppunit-1.12.1/configure.in
+--- cppunit-1.12.1.orig/configure.in	2008-02-19 23:59:25.000000000 -0600
++++ cppunit-1.12.1/configure.in	2012-02-02 17:21:28.767587739 -0600
+@@ -73,6 +73,7 @@
+ # ----------------------------------------------------------------------------
+ 
+ AC_CHECK_HEADERS(cmath,[],[],[/**/])
++AC_CHECK_HEADERS(ieeefp.h,[],[],[/**/])
+ 
+ # Check for compiler characteristics 
+ # ----------------------------------------------------------------------------
+--- cppunit-1.12.1.orig/include/cppunit/portability/FloatingPoint.h	2007-03-04 21:16:42.000000000 -0600
++++ cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h	2012-02-02 17:32:43.339423624 -0600
+@@ -4,6 +4,10 @@
+ #include <cppunit/Portability.h>
+ #include <math.h>
+ 
++#if defined(CPPUNIT_HAVE_IEEEFP_H)
++#include <ieeefp.h>
++#endif
++
+ CPPUNIT_NS_BEGIN
+ 
+ /// \brief Tests if a floating-point is a NaN.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list