summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/blitz++/DESCR6
-rw-r--r--math/blitz++/Makefile21
-rw-r--r--math/blitz++/PLIST232
-rw-r--r--math/blitz++/distinfo7
-rw-r--r--math/blitz++/patches/patch-aa183
-rw-r--r--math/blitz++/patches/patch-ab22
-rw-r--r--math/blitz++/patches/patch-ac28
7 files changed, 499 insertions, 0 deletions
diff --git a/math/blitz++/DESCR b/math/blitz++/DESCR
new file mode 100644
index 00000000000..254cc5069d1
--- /dev/null
+++ b/math/blitz++/DESCR
@@ -0,0 +1,6 @@
+Blitz++ is a C++ class library for scientific computing which provides
+performance on par with Fortran 77/90. It uses template techniques to
+achieve high performance. The current versions provide dense arrays
+and vectors, random number generators, and small vectors and matrices.
+Blitz++ is distributed freely under an open source license, and
+contributions to the library are welcomed.
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
new file mode 100644
index 00000000000..3f83fccbaa2
--- /dev/null
+++ b/math/blitz++/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/30 00:03:34 jtb Exp $
+
+DISTNAME= blitz-0.6
+PKGNAME= blitz++-0.6
+CATEGORIES= math devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blitz/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.oonumerics.org/blitz/
+COMMENT= C++ template class library providing array objects
+
+USE_BUILDLINK2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS+= --with-cxx=gcc
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/blitz
+ ${INSTALL_DATA} ${WRKSRC}/manual/blitz.ps ${PREFIX}/share/doc/blitz
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/blitz++/PLIST b/math/blitz++/PLIST
new file mode 100644
index 00000000000..aeda3fb6c46
--- /dev/null
+++ b/math/blitz++/PLIST
@@ -0,0 +1,232 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/30 00:03:36 jtb Exp $
+include/blitz/applics.h
+include/blitz/array-impl.h
+include/blitz/array-old.h
+include/blitz/array.h
+include/blitz/array/asexpr.h
+include/blitz/array/bops.cc
+include/blitz/array/cartesian.h
+include/blitz/array/cgsolve.h
+include/blitz/array/complex.cc
+include/blitz/array/convolve.cc
+include/blitz/array/convolve.h
+include/blitz/array/cycle.cc
+include/blitz/array/domain.h
+include/blitz/array/et.h
+include/blitz/array/eval.cc
+include/blitz/array/expr.h
+include/blitz/array/fastiter.h
+include/blitz/array/funcs.h
+include/blitz/array/functorExpr.h
+include/blitz/array/geometry.h
+include/blitz/array/indirect.h
+include/blitz/array/interlace.cc
+include/blitz/array/io.cc
+include/blitz/array/iter.h
+include/blitz/array/map.h
+include/blitz/array/methods.cc
+include/blitz/array/misc.cc
+include/blitz/array/multi.h
+include/blitz/array/newbops.cc
+include/blitz/array/newet-macros.h
+include/blitz/array/newet.h
+include/blitz/array/ops.cc
+include/blitz/array/ops.h
+include/blitz/array/reduce.cc
+include/blitz/array/reduce.h
+include/blitz/array/resize.cc
+include/blitz/array/shape.h
+include/blitz/array/slice.h
+include/blitz/array/slicing.cc
+include/blitz/array/stencil-et.h
+include/blitz/array/stencilops.h
+include/blitz/array/stencils.cc
+include/blitz/array/stencils.h
+include/blitz/array/storage.h
+include/blitz/array/uops.cc
+include/blitz/array/where.h
+include/blitz/array/zip.h
+include/blitz/bench.cc
+include/blitz/bench.h
+include/blitz/benchext.cc
+include/blitz/benchext.h
+include/blitz/blitz.h
+include/blitz/bzdebug.h
+include/blitz/compiler.h
+include/blitz/config.h
+include/blitz/etbase.h
+include/blitz/extremum.h
+include/blitz/funcs.h
+include/blitz/generate/arroperands.h
+include/blitz/generate/arroptuple.h
+include/blitz/generate/bzfstream.h
+include/blitz/generate/genarrbops.cpp
+include/blitz/generate/genarruops.cpp
+include/blitz/generate/genmatbops.cpp
+include/blitz/generate/genmathfunc.cpp
+include/blitz/generate/genmatuops.cpp
+include/blitz/generate/genpromote.cpp
+include/blitz/generate/genvecbops.cpp
+include/blitz/generate/genvecuops.cpp
+include/blitz/generate/genvecwhere.cpp
+include/blitz/generate/operands.h
+include/blitz/generate/operands2.h
+include/blitz/generate/optuple.h
+include/blitz/generate/optuple2.h
+include/blitz/indexexpr.h
+include/blitz/limits-hack.h
+include/blitz/listinit.h
+include/blitz/matbops.h
+include/blitz/matdiag.h
+include/blitz/matexpr.h
+include/blitz/matgen.h
+include/blitz/mathf2.h
+include/blitz/mathfunc.h
+include/blitz/matltri.h
+include/blitz/matref.h
+include/blitz/matrix.cc
+include/blitz/matrix.h
+include/blitz/matsymm.h
+include/blitz/mattoep.h
+include/blitz/matuops.h
+include/blitz/matutri.h
+include/blitz/memblock.cc
+include/blitz/memblock.h
+include/blitz/meta/dot.h
+include/blitz/meta/matassign.h
+include/blitz/meta/matmat.h
+include/blitz/meta/matvec.h
+include/blitz/meta/metaprog.h
+include/blitz/meta/product.h
+include/blitz/meta/sum.h
+include/blitz/meta/vecassign.h
+include/blitz/minmax.h
+include/blitz/mstruct.h
+include/blitz/numinquire.h
+include/blitz/numtrait.h
+include/blitz/ops.h
+include/blitz/prettyprint.h
+include/blitz/promote-old.h
+include/blitz/promote.h
+include/blitz/rand-dunif.h
+include/blitz/rand-mt.h
+include/blitz/rand-normal.h
+include/blitz/rand-tt800.h
+include/blitz/rand-uniform.h
+include/blitz/random.h
+include/blitz/randref.h
+include/blitz/range.h
+include/blitz/reduce.h
+include/blitz/shapecheck.h
+include/blitz/tau.h
+include/blitz/timer.h
+include/blitz/tiny.h
+include/blitz/tinymat.h
+include/blitz/tinymatexpr.h
+include/blitz/tinymatio.cc
+include/blitz/tinyvec-et.h
+include/blitz/tinyvec.cc
+include/blitz/tinyvec.h
+include/blitz/tinyvecio.cc
+include/blitz/tinyveciter.h
+include/blitz/traversal.cc
+include/blitz/traversal.h
+include/blitz/tuning.h
+include/blitz/tvcross.h
+include/blitz/tvecglobs.h
+include/blitz/update.h
+include/blitz/vecaccum.cc
+include/blitz/vecall.cc
+include/blitz/vecany.cc
+include/blitz/vecbfn.cc
+include/blitz/vecbops.cc
+include/blitz/veccount.cc
+include/blitz/vecdelta.cc
+include/blitz/vecdot.cc
+include/blitz/vecexpr.h
+include/blitz/vecexprwrap.h
+include/blitz/vecglobs.cc
+include/blitz/vecglobs.h
+include/blitz/vecio.cc
+include/blitz/veciter.h
+include/blitz/vecmax.cc
+include/blitz/vecmin.cc
+include/blitz/vecnorm.cc
+include/blitz/vecnorm1.cc
+include/blitz/vecpick.cc
+include/blitz/vecpick.h
+include/blitz/vecpickio.cc
+include/blitz/vecpickiter.h
+include/blitz/vecsum.cc
+include/blitz/vector-et.h
+include/blitz/vector.cc
+include/blitz/vector.h
+include/blitz/vecuops.cc
+include/blitz/vecwhere.cc
+include/blitz/vecwhere.h
+include/blitz/wrap-climits.h
+include/blitz/zero.cc
+include/blitz/zero.h
+include/random/F.h
+include/random/Makefile.am
+include/random/beta.h
+include/random/chisquare.h
+include/random/default.h
+include/random/discrete-uniform.h
+include/random/exponential.h
+include/random/gamma.h
+include/random/mt.h
+include/random/normal.h
+include/random/uniform.h
+lib/libblitz.a
+share/doc/blitz/blitz.ps
+share/examples/blitz/Makefile
+share/examples/blitz/array.cpp
+share/examples/blitz/cartesian.cpp
+share/examples/blitz/cast.cpp
+share/examples/blitz/cfd.cpp
+share/examples/blitz/complex-test.cpp
+share/examples/blitz/convolve.cpp
+share/examples/blitz/curldiv.cpp
+share/examples/blitz/deriv.cpp
+share/examples/blitz/diff.cpp
+share/examples/blitz/erf.cpp
+share/examples/blitz/fixed.cpp
+share/examples/blitz/indirect.cpp
+share/examples/blitz/io.cpp
+share/examples/blitz/iter.cpp
+share/examples/blitz/matmult.cpp
+share/examples/blitz/nested.cpp
+share/examples/blitz/numinquire.cpp
+share/examples/blitz/outer.cpp
+share/examples/blitz/pauli.cpp
+share/examples/blitz/pick.cpp
+share/examples/blitz/polymorph.cpp
+share/examples/blitz/prettyprint.cpp
+share/examples/blitz/profile.cpp
+share/examples/blitz/qcd.cpp
+share/examples/blitz/rand2.cpp
+share/examples/blitz/random.cpp
+share/examples/blitz/rangexpr.cpp
+share/examples/blitz/reduce.cpp
+share/examples/blitz/simple.cpp
+share/examples/blitz/slicing.cpp
+share/examples/blitz/stencil.cpp
+share/examples/blitz/stencil2.cpp
+share/examples/blitz/stencil3.cpp
+share/examples/blitz/stencilet.cpp
+share/examples/blitz/storage.cpp
+share/examples/blitz/tiny.cpp
+share/examples/blitz/tiny2.cpp
+share/examples/blitz/tiny3.cpp
+share/examples/blitz/transform.cpp
+share/examples/blitz/useret.cpp
+share/examples/blitz/where.cpp
+share/examples/blitz/whitt.cpp
+@dirrm share/examples/blitz
+@dirrm share/doc/blitz
+@dirrm include/random
+@dirrm include/blitz/meta
+@dirrm include/blitz/generate
+@dirrm include/blitz/array
+@dirrm include/blitz
diff --git a/math/blitz++/distinfo b/math/blitz++/distinfo
new file mode 100644
index 00000000000..4244e8615b4
--- /dev/null
+++ b/math/blitz++/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/30 00:03:36 jtb Exp $
+
+SHA1 (blitz-0.6.tar.gz) = 4271cbaa3c23e35466e9610551d9809b89b606ed
+Size (blitz-0.6.tar.gz) = 1019425 bytes
+SHA1 (patch-aa) = 85d8f8a6ef8c63c566c307d24074639fee47b41c
+SHA1 (patch-ab) = f84a9c79eab98649fd7cfb8acbf5c5580ae97386
+SHA1 (patch-ac) = 3b26d8b2432ddd70ea24993d1b14e9116171cd30
diff --git a/math/blitz++/patches/patch-aa b/math/blitz++/patches/patch-aa
new file mode 100644
index 00000000000..61c62dbec75
--- /dev/null
+++ b/math/blitz++/patches/patch-aa
@@ -0,0 +1,183 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/30 00:03:39 jtb Exp $
+
+--- examples/Makefile.in.orig
++++ examples/Makefile.in
+@@ -104,7 +104,7 @@
+ INCLUDES = -I$(top_srcdir)
+ LDADD = -L$(top_srcdir)/lib -lblitz
+
+-examplesdir = $(prefix)/examples
++examplesdir = $(prefix)/share/examples/blitz
+ examples_DATA = array.cpp cartesian.cpp cast.cpp cfd.cpp complex-test.cpp \
+ convolve.cpp curldiv.cpp deriv.cpp diff.cpp erf.cpp fixed.cpp indirect.cpp \
+ io.cpp iter.cpp matmult.cpp nested.cpp numinquire.cpp outer.cpp pauli.cpp \
+@@ -118,7 +118,7 @@
+ deriv diff erf fixed indirect io iter matmult nested numinquire outer pauli \
+ pick polymorph prettyprint qcd rand2 random rangexpr reduce simple \
+ slicing stencil2 stencil3 stencil stencilet storage tiny \
+-transform useret where whitt
++transform useret where whitt
+
+
+ array_SOURCES = array.cpp
+@@ -418,121 +418,121 @@
+ $(AUTOMAKE) --gnu --ignore-deps examples/Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+-array$(EXEEXT): $(array_OBJECTS) $(array_DEPENDENCIES)
++array$(EXEEXT): $(array_OBJECTS) $(array_DEPENDENCIES)
+ @rm -f array$(EXEEXT)
+ $(CXXLINK) $(array_LDFLAGS) $(array_OBJECTS) $(array_LDADD) $(LIBS)
+-cartesian$(EXEEXT): $(cartesian_OBJECTS) $(cartesian_DEPENDENCIES)
++cartesian$(EXEEXT): $(cartesian_OBJECTS) $(cartesian_DEPENDENCIES)
+ @rm -f cartesian$(EXEEXT)
+ $(CXXLINK) $(cartesian_LDFLAGS) $(cartesian_OBJECTS) $(cartesian_LDADD) $(LIBS)
+-cast$(EXEEXT): $(cast_OBJECTS) $(cast_DEPENDENCIES)
++cast$(EXEEXT): $(cast_OBJECTS) $(cast_DEPENDENCIES)
+ @rm -f cast$(EXEEXT)
+ $(CXXLINK) $(cast_LDFLAGS) $(cast_OBJECTS) $(cast_LDADD) $(LIBS)
+-cfd$(EXEEXT): $(cfd_OBJECTS) $(cfd_DEPENDENCIES)
++cfd$(EXEEXT): $(cfd_OBJECTS) $(cfd_DEPENDENCIES)
+ @rm -f cfd$(EXEEXT)
+ $(CXXLINK) $(cfd_LDFLAGS) $(cfd_OBJECTS) $(cfd_LDADD) $(LIBS)
+-complex-test$(EXEEXT): $(complex_test_OBJECTS) $(complex_test_DEPENDENCIES)
++complex-test$(EXEEXT): $(complex_test_OBJECTS) $(complex_test_DEPENDENCIES)
+ @rm -f complex-test$(EXEEXT)
+ $(CXXLINK) $(complex_test_LDFLAGS) $(complex_test_OBJECTS) $(complex_test_LDADD) $(LIBS)
+-convolve$(EXEEXT): $(convolve_OBJECTS) $(convolve_DEPENDENCIES)
++convolve$(EXEEXT): $(convolve_OBJECTS) $(convolve_DEPENDENCIES)
+ @rm -f convolve$(EXEEXT)
+ $(CXXLINK) $(convolve_LDFLAGS) $(convolve_OBJECTS) $(convolve_LDADD) $(LIBS)
+-curldiv$(EXEEXT): $(curldiv_OBJECTS) $(curldiv_DEPENDENCIES)
++curldiv$(EXEEXT): $(curldiv_OBJECTS) $(curldiv_DEPENDENCIES)
+ @rm -f curldiv$(EXEEXT)
+ $(CXXLINK) $(curldiv_LDFLAGS) $(curldiv_OBJECTS) $(curldiv_LDADD) $(LIBS)
+-deriv$(EXEEXT): $(deriv_OBJECTS) $(deriv_DEPENDENCIES)
++deriv$(EXEEXT): $(deriv_OBJECTS) $(deriv_DEPENDENCIES)
+ @rm -f deriv$(EXEEXT)
+ $(CXXLINK) $(deriv_LDFLAGS) $(deriv_OBJECTS) $(deriv_LDADD) $(LIBS)
+-diff$(EXEEXT): $(diff_OBJECTS) $(diff_DEPENDENCIES)
++diff$(EXEEXT): $(diff_OBJECTS) $(diff_DEPENDENCIES)
+ @rm -f diff$(EXEEXT)
+ $(CXXLINK) $(diff_LDFLAGS) $(diff_OBJECTS) $(diff_LDADD) $(LIBS)
+-erf$(EXEEXT): $(erf_OBJECTS) $(erf_DEPENDENCIES)
++erf$(EXEEXT): $(erf_OBJECTS) $(erf_DEPENDENCIES)
+ @rm -f erf$(EXEEXT)
+ $(CXXLINK) $(erf_LDFLAGS) $(erf_OBJECTS) $(erf_LDADD) $(LIBS)
+-fixed$(EXEEXT): $(fixed_OBJECTS) $(fixed_DEPENDENCIES)
++fixed$(EXEEXT): $(fixed_OBJECTS) $(fixed_DEPENDENCIES)
+ @rm -f fixed$(EXEEXT)
+ $(CXXLINK) $(fixed_LDFLAGS) $(fixed_OBJECTS) $(fixed_LDADD) $(LIBS)
+-indirect$(EXEEXT): $(indirect_OBJECTS) $(indirect_DEPENDENCIES)
++indirect$(EXEEXT): $(indirect_OBJECTS) $(indirect_DEPENDENCIES)
+ @rm -f indirect$(EXEEXT)
+ $(CXXLINK) $(indirect_LDFLAGS) $(indirect_OBJECTS) $(indirect_LDADD) $(LIBS)
+-io$(EXEEXT): $(io_OBJECTS) $(io_DEPENDENCIES)
++io$(EXEEXT): $(io_OBJECTS) $(io_DEPENDENCIES)
+ @rm -f io$(EXEEXT)
+ $(CXXLINK) $(io_LDFLAGS) $(io_OBJECTS) $(io_LDADD) $(LIBS)
+-iter$(EXEEXT): $(iter_OBJECTS) $(iter_DEPENDENCIES)
++iter$(EXEEXT): $(iter_OBJECTS) $(iter_DEPENDENCIES)
+ @rm -f iter$(EXEEXT)
+ $(CXXLINK) $(iter_LDFLAGS) $(iter_OBJECTS) $(iter_LDADD) $(LIBS)
+-matmult$(EXEEXT): $(matmult_OBJECTS) $(matmult_DEPENDENCIES)
++matmult$(EXEEXT): $(matmult_OBJECTS) $(matmult_DEPENDENCIES)
+ @rm -f matmult$(EXEEXT)
+ $(CXXLINK) $(matmult_LDFLAGS) $(matmult_OBJECTS) $(matmult_LDADD) $(LIBS)
+-nested$(EXEEXT): $(nested_OBJECTS) $(nested_DEPENDENCIES)
++nested$(EXEEXT): $(nested_OBJECTS) $(nested_DEPENDENCIES)
+ @rm -f nested$(EXEEXT)
+ $(CXXLINK) $(nested_LDFLAGS) $(nested_OBJECTS) $(nested_LDADD) $(LIBS)
+-numinquire$(EXEEXT): $(numinquire_OBJECTS) $(numinquire_DEPENDENCIES)
++numinquire$(EXEEXT): $(numinquire_OBJECTS) $(numinquire_DEPENDENCIES)
+ @rm -f numinquire$(EXEEXT)
+ $(CXXLINK) $(numinquire_LDFLAGS) $(numinquire_OBJECTS) $(numinquire_LDADD) $(LIBS)
+-outer$(EXEEXT): $(outer_OBJECTS) $(outer_DEPENDENCIES)
++outer$(EXEEXT): $(outer_OBJECTS) $(outer_DEPENDENCIES)
+ @rm -f outer$(EXEEXT)
+ $(CXXLINK) $(outer_LDFLAGS) $(outer_OBJECTS) $(outer_LDADD) $(LIBS)
+-pauli$(EXEEXT): $(pauli_OBJECTS) $(pauli_DEPENDENCIES)
++pauli$(EXEEXT): $(pauli_OBJECTS) $(pauli_DEPENDENCIES)
+ @rm -f pauli$(EXEEXT)
+ $(CXXLINK) $(pauli_LDFLAGS) $(pauli_OBJECTS) $(pauli_LDADD) $(LIBS)
+-pick$(EXEEXT): $(pick_OBJECTS) $(pick_DEPENDENCIES)
++pick$(EXEEXT): $(pick_OBJECTS) $(pick_DEPENDENCIES)
+ @rm -f pick$(EXEEXT)
+ $(CXXLINK) $(pick_LDFLAGS) $(pick_OBJECTS) $(pick_LDADD) $(LIBS)
+-polymorph$(EXEEXT): $(polymorph_OBJECTS) $(polymorph_DEPENDENCIES)
++polymorph$(EXEEXT): $(polymorph_OBJECTS) $(polymorph_DEPENDENCIES)
+ @rm -f polymorph$(EXEEXT)
+ $(CXXLINK) $(polymorph_LDFLAGS) $(polymorph_OBJECTS) $(polymorph_LDADD) $(LIBS)
+-prettyprint$(EXEEXT): $(prettyprint_OBJECTS) $(prettyprint_DEPENDENCIES)
++prettyprint$(EXEEXT): $(prettyprint_OBJECTS) $(prettyprint_DEPENDENCIES)
+ @rm -f prettyprint$(EXEEXT)
+ $(CXXLINK) $(prettyprint_LDFLAGS) $(prettyprint_OBJECTS) $(prettyprint_LDADD) $(LIBS)
+-qcd$(EXEEXT): $(qcd_OBJECTS) $(qcd_DEPENDENCIES)
++qcd$(EXEEXT): $(qcd_OBJECTS) $(qcd_DEPENDENCIES)
+ @rm -f qcd$(EXEEXT)
+ $(CXXLINK) $(qcd_LDFLAGS) $(qcd_OBJECTS) $(qcd_LDADD) $(LIBS)
+-rand2$(EXEEXT): $(rand2_OBJECTS) $(rand2_DEPENDENCIES)
++rand2$(EXEEXT): $(rand2_OBJECTS) $(rand2_DEPENDENCIES)
+ @rm -f rand2$(EXEEXT)
+ $(CXXLINK) $(rand2_LDFLAGS) $(rand2_OBJECTS) $(rand2_LDADD) $(LIBS)
+-random$(EXEEXT): $(random_OBJECTS) $(random_DEPENDENCIES)
++random$(EXEEXT): $(random_OBJECTS) $(random_DEPENDENCIES)
+ @rm -f random$(EXEEXT)
+ $(CXXLINK) $(random_LDFLAGS) $(random_OBJECTS) $(random_LDADD) $(LIBS)
+-rangexpr$(EXEEXT): $(rangexpr_OBJECTS) $(rangexpr_DEPENDENCIES)
++rangexpr$(EXEEXT): $(rangexpr_OBJECTS) $(rangexpr_DEPENDENCIES)
+ @rm -f rangexpr$(EXEEXT)
+ $(CXXLINK) $(rangexpr_LDFLAGS) $(rangexpr_OBJECTS) $(rangexpr_LDADD) $(LIBS)
+-reduce$(EXEEXT): $(reduce_OBJECTS) $(reduce_DEPENDENCIES)
++reduce$(EXEEXT): $(reduce_OBJECTS) $(reduce_DEPENDENCIES)
+ @rm -f reduce$(EXEEXT)
+ $(CXXLINK) $(reduce_LDFLAGS) $(reduce_OBJECTS) $(reduce_LDADD) $(LIBS)
+-simple$(EXEEXT): $(simple_OBJECTS) $(simple_DEPENDENCIES)
++simple$(EXEEXT): $(simple_OBJECTS) $(simple_DEPENDENCIES)
+ @rm -f simple$(EXEEXT)
+ $(CXXLINK) $(simple_LDFLAGS) $(simple_OBJECTS) $(simple_LDADD) $(LIBS)
+-slicing$(EXEEXT): $(slicing_OBJECTS) $(slicing_DEPENDENCIES)
++slicing$(EXEEXT): $(slicing_OBJECTS) $(slicing_DEPENDENCIES)
+ @rm -f slicing$(EXEEXT)
+ $(CXXLINK) $(slicing_LDFLAGS) $(slicing_OBJECTS) $(slicing_LDADD) $(LIBS)
+-stencil$(EXEEXT): $(stencil_OBJECTS) $(stencil_DEPENDENCIES)
++stencil$(EXEEXT): $(stencil_OBJECTS) $(stencil_DEPENDENCIES)
+ @rm -f stencil$(EXEEXT)
+ $(CXXLINK) $(stencil_LDFLAGS) $(stencil_OBJECTS) $(stencil_LDADD) $(LIBS)
+-stencil2$(EXEEXT): $(stencil2_OBJECTS) $(stencil2_DEPENDENCIES)
++stencil2$(EXEEXT): $(stencil2_OBJECTS) $(stencil2_DEPENDENCIES)
+ @rm -f stencil2$(EXEEXT)
+ $(CXXLINK) $(stencil2_LDFLAGS) $(stencil2_OBJECTS) $(stencil2_LDADD) $(LIBS)
+-stencil3$(EXEEXT): $(stencil3_OBJECTS) $(stencil3_DEPENDENCIES)
++stencil3$(EXEEXT): $(stencil3_OBJECTS) $(stencil3_DEPENDENCIES)
+ @rm -f stencil3$(EXEEXT)
+ $(CXXLINK) $(stencil3_LDFLAGS) $(stencil3_OBJECTS) $(stencil3_LDADD) $(LIBS)
+-stencilet$(EXEEXT): $(stencilet_OBJECTS) $(stencilet_DEPENDENCIES)
++stencilet$(EXEEXT): $(stencilet_OBJECTS) $(stencilet_DEPENDENCIES)
+ @rm -f stencilet$(EXEEXT)
+ $(CXXLINK) $(stencilet_LDFLAGS) $(stencilet_OBJECTS) $(stencilet_LDADD) $(LIBS)
+-storage$(EXEEXT): $(storage_OBJECTS) $(storage_DEPENDENCIES)
++storage$(EXEEXT): $(storage_OBJECTS) $(storage_DEPENDENCIES)
+ @rm -f storage$(EXEEXT)
+ $(CXXLINK) $(storage_LDFLAGS) $(storage_OBJECTS) $(storage_LDADD) $(LIBS)
+-tiny$(EXEEXT): $(tiny_OBJECTS) $(tiny_DEPENDENCIES)
++tiny$(EXEEXT): $(tiny_OBJECTS) $(tiny_DEPENDENCIES)
+ @rm -f tiny$(EXEEXT)
+ $(CXXLINK) $(tiny_LDFLAGS) $(tiny_OBJECTS) $(tiny_LDADD) $(LIBS)
+-transform$(EXEEXT): $(transform_OBJECTS) $(transform_DEPENDENCIES)
++transform$(EXEEXT): $(transform_OBJECTS) $(transform_DEPENDENCIES)
+ @rm -f transform$(EXEEXT)
+ $(CXXLINK) $(transform_LDFLAGS) $(transform_OBJECTS) $(transform_LDADD) $(LIBS)
+-useret$(EXEEXT): $(useret_OBJECTS) $(useret_DEPENDENCIES)
++useret$(EXEEXT): $(useret_OBJECTS) $(useret_DEPENDENCIES)
+ @rm -f useret$(EXEEXT)
+ $(CXXLINK) $(useret_LDFLAGS) $(useret_OBJECTS) $(useret_LDADD) $(LIBS)
+-where$(EXEEXT): $(where_OBJECTS) $(where_DEPENDENCIES)
++where$(EXEEXT): $(where_OBJECTS) $(where_DEPENDENCIES)
+ @rm -f where$(EXEEXT)
+ $(CXXLINK) $(where_LDFLAGS) $(where_OBJECTS) $(where_LDADD) $(LIBS)
+-whitt$(EXEEXT): $(whitt_OBJECTS) $(whitt_DEPENDENCIES)
++whitt$(EXEEXT): $(whitt_OBJECTS) $(whitt_DEPENDENCIES)
+ @rm -f whitt$(EXEEXT)
+ $(CXXLINK) $(whitt_LDFLAGS) $(whitt_OBJECTS) $(whitt_LDADD) $(LIBS)
+
diff --git a/math/blitz++/patches/patch-ab b/math/blitz++/patches/patch-ab
new file mode 100644
index 00000000000..73b9222fc30
--- /dev/null
+++ b/math/blitz++/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/04/30 00:03:39 jtb Exp $
+
+--- manual/Makefile.in.orig
++++ manual/Makefile.in
+@@ -99,7 +99,7 @@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+
+-docdir = $(prefix)/doc/blitz
++docdir = $(prefix)/share/doc/blitz
+ doc_DATA = Frames.html INDEX.html Index-epilogue.html Index-prologue.html \
+ Index.html arrays-ctors.yo arrays-debug.yo arrays-expr.yo arrays-globals.yo \
+ arrays-indirect.yo arrays-intro.yo arrays-io.yo arrays-members.yo \
+@@ -114,7 +114,7 @@
+ range.html sinsoid.eps sinsoid.gif slice.eps slice.fig slice.gif \
+ strideslice.eps strideslice.fig strideslice.gif tau.yo tensor1.eps \
+ tensor1.fig tensor1.gif tinymatrix.yo tinyvector.yo tuning.yo update \
+-vector.html
++vector.html
+
+
+ EXTRA_DIST = $(doc_DATA)
diff --git a/math/blitz++/patches/patch-ac b/math/blitz++/patches/patch-ac
new file mode 100644
index 00000000000..509adea9a58
--- /dev/null
+++ b/math/blitz++/patches/patch-ac
@@ -0,0 +1,28 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/04/30 00:03:40 jtb Exp $
+
+--- Makefile.in.orig
++++ Makefile.in
+@@ -93,12 +93,12 @@
+ RANLIB = @RANLIB@
+ STRIP = @STRIP@
+
+-SUBDIRS = . bin compiler blitz random src lib manual testsuite examples benchmarks demos
++SUBDIRS = . bin compiler blitz random src lib examples
+ VERSION = @VERSION@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-EXTRA_DIST = LEGAL LICENSE README.binutils config.h.in ChangeLog.1
++EXTRA_DIST = LEGAL LICENSE README.binutils config.h.in ChangeLog.1
+
+ demodir = $(prefix)/demos
+ demo_DATA = demos/Makefile
+@@ -405,7 +405,7 @@
+
+ info-am:
+
+-install-data-am: install-demoDATA
++install-data-am:
+
+ install-exec-am:
+