diff options
author | pav <pav@FreeBSD.org> | 2005-02-20 12:51:43 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-20 12:51:43 +0000 |
commit | aaeac6628d9f1640b1f8339ebbf9963f8ae0e0b3 (patch) | |
tree | 071c53892b737f8f3ddb4b54457f57637c459091 /math/it++ | |
parent | e24943f24dbf285b5e219240848730ff33c532dd (diff) | |
download | FreeBSD-ports-aaeac6628d9f1640b1f8339ebbf9963f8ae0e0b3.zip FreeBSD-ports-aaeac6628d9f1640b1f8339ebbf9963f8ae0e0b3.tar.gz |
- Update to 3.8.0 and unbreak
PR: ports/77739
Submitted by: Johan van Selst <johans@stack.nl>
Diffstat (limited to 'math/it++')
-rw-r--r-- | math/it++/Makefile | 13 | ||||
-rw-r--r-- | math/it++/distinfo | 4 | ||||
-rw-r--r-- | math/it++/files/patch-configure | 11 | ||||
-rw-r--r-- | math/it++/files/patch-include_base_machdep.h | 22 | ||||
-rw-r--r-- | math/it++/pkg-plist | 19 |
5 files changed, 56 insertions, 13 deletions
diff --git a/math/it++/Makefile b/math/it++/Makefile index 531ab32..3d9d21f 100644 --- a/math/it++/Makefile +++ b/math/it++/Makefile @@ -7,8 +7,7 @@ # PORTNAME= it++ -PORTVERSION= 3.7.1 -PORTREVISION= 1 +PORTVERSION= 3.8.0 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= itpp @@ -23,17 +22,10 @@ USE_REINPLACE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= opt USE_GMAKE= yes +USE_GCC= 3.3+ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -BROKEN= "Does not compile on amd64 or ia64" -.endif - post-patch: @${REINPLACE_CMD} -e "s|sparc|__sparc__|" \ -e "s|alpha|__alpha__|" ${WRKSRC}/include/base/machdep.h @@ -43,5 +35,6 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bin/it-config ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/lib/libit++.a ${PREFIX}/lib ${CP} -R ${WRKSRC}/include ${PREFIX}/include/it++ + ${FIND} ${PREFIX}/include/it++ -name \*.orig -delete .include <bsd.port.post.mk> diff --git a/math/it++/distinfo b/math/it++/distinfo index 53b6a39..a63b07a 100644 --- a/math/it++/distinfo +++ b/math/it++/distinfo @@ -1,2 +1,2 @@ -MD5 (it++3.7.1.tar.gz) = 8e5b242af6ad323ec4abca9b8e7c4322 -SIZE (it++3.7.1.tar.gz) = 606748 +MD5 (it++3.8.0.tar.gz) = 0003d5db4c010e1d833f7f1f1a5b26c8 +SIZE (it++3.8.0.tar.gz) = 447140 diff --git a/math/it++/files/patch-configure b/math/it++/files/patch-configure new file mode 100644 index 0000000..4c3ae19 --- /dev/null +++ b/math/it++/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Sat Feb 19 17:35:18 2005 ++++ configure Sat Feb 19 17:35:04 2005 +@@ -328,7 +328,7 @@ HAVE_LAPACK = $lapack + HAVE_FFTW = $fftw + OS = $os + IT_DIR = $it_dir +-CXX = $compiler ++#CXX = $compiler + + PROF_FLAGS = -pg \$(OPTIMIZED_FLAGS) + DEBUG_FLAGS = -g -DASSERT_LEVEL=2 diff --git a/math/it++/files/patch-include_base_machdep.h b/math/it++/files/patch-include_base_machdep.h new file mode 100644 index 0000000..1d22600 --- /dev/null +++ b/math/it++/files/patch-include_base_machdep.h @@ -0,0 +1,22 @@ +--- include/base/machdep.h.orig Sat Feb 19 17:57:11 2005 ++++ include/base/machdep.h Sat Feb 19 17:57:22 2005 +@@ -24,6 +24,7 @@ + #ifndef __machdep_h + #define __machdep_h + ++#include <machine/endian.h> + #include "itconfig.h" + + namespace itpp { +@@ -71,9 +72,9 @@ namespace itpp { + inline void little_endian(it_s8 x, it_s8 &y) { y = x; } + inline void little_endian(it_u8 x, it_u8 &y) { y = x; } + +-#if defined(sparc) ++#if _BYTE_ORDER == _LITTLE_ENDIAN + #define __LITTLE_ENDIAN__ +-#elif defined(i386) || defined(_M_IX86) || defined(alpha) || defined(vms) ++#elif _BYTE_ORDER == _BIG_ENDIAN + #define __BIG_ENDIAN__ + #endif + diff --git a/math/it++/pkg-plist b/math/it++/pkg-plist index c143cc8..1c49fe6 100644 --- a/math/it++/pkg-plist +++ b/math/it++/pkg-plist @@ -4,15 +4,26 @@ include/it++/base/bessel.h include/it++/base/binary.h include/it++/base/binfile.h include/it++/base/cblas.h +include/it++/base/cfix.h +include/it++/base/cfixed.h include/it++/base/cholesky.h include/it++/base/circular_buffer.h include/it++/base/converters.h include/it++/base/det.h include/it++/base/eigen.h include/it++/base/elmatfunc.h +include/it++/base/factory.h +include/it++/base/fastica.h include/it++/base/fastmath.h include/it++/base/filter.h +include/it++/base/fix.h +include/it++/base/fix_base.h +include/it++/base/fix_factory.h +include/it++/base/fix_functions.h +include/it++/base/fix_operators.h +include/it++/base/fixed.h include/it++/base/help_functions.h +include/it++/base/integration.h include/it++/base/inv.h include/it++/base/itassert.h include/it++/base/itfile.h @@ -25,13 +36,17 @@ include/it++/base/mat.h include/it++/base/matfunc.h include/it++/base/operators.h include/it++/base/parser.h +include/it++/base/plot_pdf.h +include/it++/base/qr.h include/it++/base/random.h include/it++/base/scalfunc.h include/it++/base/sigfun.h include/it++/base/smat.h +include/it++/base/sort.h include/it++/base/source.h include/it++/base/specmat.h include/it++/base/stack.h +include/it++/base/stat.h include/it++/base/svd.h include/it++/base/svec.h include/it++/base/timing.h @@ -62,10 +77,12 @@ include/it++/itconfig.h include/it++/itmex.h include/it++/itsrccode.h include/it++/matlab/matlab_engine.h -include/it++/srccode/audiodev.h include/it++/srccode/audiofile.h +include/it++/srccode/gmm.h include/it++/srccode/lpcfunc.h +include/it++/srccode/pnm.h include/it++/srccode/vq.h +include/it++/srccode/vqtrain.h lib/libit++.a @dirrm include/it++/srccode @dirrm include/it++/matlab |