summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-06-01 21:43:29 +0000
committerkristerw <kristerw@pkgsrc.org>2004-06-01 21:43:29 +0000
commit8752a405bb826cda8beafd785ad4c7200dcda0ed (patch)
treecaff5ff2c72bd2f831cd696fedf515107831a013 /math
parent7e363ebe74b4376e9a87699c3686e3c01b5972c0 (diff)
downloadpkgsrc-8752a405bb826cda8beafd785ad4c7200dcda0ed.tar.gz
Remove obsolete package, per discussion on tech-pkg.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile3
-rw-r--r--math/rlab/DESCR20
-rw-r--r--math/rlab/Makefile60
-rw-r--r--math/rlab/PLIST486
-rw-r--r--math/rlab/PLIST.gnuplot100
-rw-r--r--math/rlab/PLIST.pgraf11
-rw-r--r--math/rlab/PLIST.plotmtv10
-rw-r--r--math/rlab/PLIST.plplot56
-rw-r--r--math/rlab/distinfo14
-rw-r--r--math/rlab/patches/patch-aa134
-rw-r--r--math/rlab/patches/patch-ab334
-rw-r--r--math/rlab/patches/patch-ai27
-rw-r--r--math/rlab/patches/patch-aj22
-rw-r--r--math/rlab/patches/patch-ak22
-rw-r--r--math/rlab/patches/patch-al28
-rw-r--r--math/rlab/patches/patch-am41
-rw-r--r--math/rlab/patches/patch-ap254
-rw-r--r--math/rlab/patches/patch-aq52
-rw-r--r--math/rlab/patches/patch-ar52
19 files changed, 1 insertions, 1725 deletions
diff --git a/math/Makefile b/math/Makefile
index e7e75c5f830..d11858c76c3 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2004/05/13 04:15:04 xtraeme Exp $
+# $NetBSD: Makefile,v 1.114 2004/06/01 21:45:27 kristerw Exp $
#
COMMENT= Mathematics
@@ -79,7 +79,6 @@ SUBDIR+= py-pytables
SUBDIR+= py-rpy
SUBDIR+= quadpack
SUBDIR+= randlib
-SUBDIR+= rlab
SUBDIR+= ruby-bigfloat
SUBDIR+= ruby-bitvector
SUBDIR+= ruby-gsl
diff --git a/math/rlab/DESCR b/math/rlab/DESCR
deleted file mode 100644
index 62277baad5d..00000000000
--- a/math/rlab/DESCR
+++ /dev/null
@@ -1,20 +0,0 @@
-Rlab is a very high level language intended to provide fast
-prototyping and program development, as well as easy
-data-visualization, and processing.
-
-The fundamental data type is a floating point matrix (either real or
-complex), though RLab also includes string matrices, and sparse
-numerical matrices (both real and complex). A heterogeneous
-associative array has been added to allow users to create and operate
-on arbitrary data structures.
-
-Rlab offers simple access to the most popular linear algebra
-libraries, BLAS, and LAPACK. Furthermore, Rlab's basic data structures
-are matrix oriented, with the vector dot-product an integral part of
-the built-in operations. Due to the array oriented operations, and
-the high-level interface to FFTPACK, and a discrete IIR filtering
-function, Rlab servers well as an environment for signal analysis and
-exploration.
-
-Rlab is copyrighted with the GNU General Public License, and is free
-(in the GNU sense) for all to use.
diff --git a/math/rlab/Makefile b/math/rlab/Makefile
deleted file mode 100644
index eb58bb30b8a..00000000000
--- a/math/rlab/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-# $NetBSD: Makefile,v 1.18 2004/04/25 21:39:05 snj Exp $
-
-DISTNAME= rlab-2.1.05
-PKGREVISION= 1
-CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rlab/}
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://rlab.sourceforge.net/
-COMMENT= Matrix oriented, interactive programming environment
-
-BROKEN= relies on API from older version of superlu
-
-USE_BUILDLINK3= yes
-GNU_CONFIGURE= yes
-USE_FORTRAN= yes
-CONFIGURE_ARGS+= --enable-SUPERLU
-
-PLIST_SRC= ${PKGDIR}/PLIST
-
-.include "../../mk/bsd.prefs.mk"
-
-RLAB_PLOT_PKG?= gnuplot
-.if (${RLAB_PLOT_PKG} == "plplot")
-DEPENDS+= plplot>=5.0.1:../../graphics/plplot
-PLPLOT_PREFIX_DEFAULT= ${LOCALBASE}
-EVAL_PREFIX+= PLPLOT_PREFIX=plplot
-CONFIGURE_ARGS+= --with-plplot=${PLPLOT_PREFIX}
-PLIST_SRC+= ${PKGDIR}/PLIST.plplot
-.elif (${RLAB_PLOT_PKG} == "plotmtv")
-DEPENDS+= plotmtv-[0-9]*:../../graphics/plotmtv
-CONFIGURE_ARGS+= --with-plotmtv=yes
-PLIST_SRC+= ${PKGDIR}/PLIST.plotmtv
-.elif (${RLAB_PLOT_PKG} == "pgraf")
-DEPENDS+= pgraf-[0-9]*:../../graphics/pgraf
-PGRAF_PREFIX_DEFAULT= ${LOCALBASE}
-EVAL_PREFIX+= PGRAF_PREFIX=pgraf
-CONFIGURE_ARGS+= --with-pgraf=yes
-PLIST_SRC+= ${PKGDIR}/PLIST.pgraf
-.else
-DEPENDS+= gnuplot>=3.5:../../graphics/gnuplot
-CONFIGURE_ARGS+= --with-gnuplot=yes
-PLIST_SRC+= ${PKGDIR}/PLIST.gnuplot
-.endif
-
-post-extract:
- ${RM} -r ${WRKSRC}/gc
-
-post-install:
-.if (${RLAB_PLOT_PKG} == "pgraf")
- ${INSTALL_DATA} ${PGRAF_PREFIX}/share/examples/pgraf/pgraf.r \
- ${PREFIX}/share/rlab/rlib
- ${INSTALL_DATA} ${PGRAF_PREFIX}/share/examples/pgraf/pgdemo.r \
- ${PREFIX}/share/rlab/examples
-.endif
-
-.include "../../devel/boehm-gc/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../math/superlu/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/math/rlab/PLIST b/math/rlab/PLIST
deleted file mode 100644
index 49ca459e1ad..00000000000
--- a/math/rlab/PLIST
+++ /dev/null
@@ -1,486 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:34:06 zuntum Exp $
-bin/${PKGNAME}
-bin/rlab
-man/man1/rlab.1
-share/doc/html/rlab/ls.gif
-share/doc/html/rlab/rlab-ref-1.html
-share/doc/html/rlab/rlab-ref-2.html
-share/doc/html/rlab/rlab-ref-3.html
-share/doc/html/rlab/rlab-ref-4.html
-share/doc/html/rlab/rlab-ref-5.html
-share/doc/html/rlab/rlab-ref-6.html
-share/doc/html/rlab/rlab-ref-7.html
-share/doc/html/rlab/rlab-ref-8.html
-share/doc/html/rlab/rlab-ref-9.html
-share/doc/html/rlab/rlab-ref.html
-share/doc/rlab/rlab-ref.ps
-share/rlab/.rlab
-share/rlab/controls-toolbox/Test_new.r
-share/rlab/controls-toolbox/abcdchk.r
-share/rlab/controls-toolbox/acker.r
-share/rlab/controls-toolbox/ackertest.r
-share/rlab/controls-toolbox/append.r
-share/rlab/controls-toolbox/appendtest.r
-share/rlab/controls-toolbox/are.r
-share/rlab/controls-toolbox/are2.r
-share/rlab/controls-toolbox/are2test.r
-share/rlab/controls-toolbox/aremsf.r
-share/rlab/controls-toolbox/aremsftest.r
-share/rlab/controls-toolbox/aretest.r
-share/rlab/controls-toolbox/augstate.r
-share/rlab/controls-toolbox/augstatetest.r
-share/rlab/controls-toolbox/balreal.r
-share/rlab/controls-toolbox/banner.r
-share/rlab/controls-toolbox/bode.r
-share/rlab/controls-toolbox/bode_plot.r
-share/rlab/controls-toolbox/bode_test.r
-share/rlab/controls-toolbox/c2d.r
-share/rlab/controls-toolbox/c2d_old.r
-share/rlab/controls-toolbox/c2dm.r
-share/rlab/controls-toolbox/c2dm_new.r
-share/rlab/controls-toolbox/c2dmtest.r
-share/rlab/controls-toolbox/c2dt.r
-share/rlab/controls-toolbox/c2dtest.r
-share/rlab/controls-toolbox/canon.r
-share/rlab/controls-toolbox/canontest.r
-share/rlab/controls-toolbox/chop.r
-share/rlab/controls-toolbox/cloop.r
-share/rlab/controls-toolbox/cloop_new.r
-share/rlab/controls-toolbox/clooptest.r
-share/rlab/controls-toolbox/clxbode.r
-share/rlab/controls-toolbox/connect.r
-share/rlab/controls-toolbox/conv_old.r
-share/rlab/controls-toolbox/convtest.r
-share/rlab/controls-toolbox/covar.r
-share/rlab/controls-toolbox/covtest.r
-share/rlab/controls-toolbox/cplxpair.r
-share/rlab/controls-toolbox/ctrb.r
-share/rlab/controls-toolbox/ctrbf.r
-share/rlab/controls-toolbox/ctrbtest.r
-share/rlab/controls-toolbox/ctrldemo.r
-share/rlab/controls-toolbox/d2c.r
-share/rlab/controls-toolbox/d2cm.r
-share/rlab/controls-toolbox/damp.r
-share/rlab/controls-toolbox/damptest.r
-share/rlab/controls-toolbox/dare2.r
-share/rlab/controls-toolbox/dare2test.r
-share/rlab/controls-toolbox/daremsftest.r
-share/rlab/controls-toolbox/dbalreal.r
-share/rlab/controls-toolbox/dbode.r
-share/rlab/controls-toolbox/dbode_plot.r
-share/rlab/controls-toolbox/dcgain.r
-share/rlab/controls-toolbox/dcgaintest.r
-share/rlab/controls-toolbox/dcovar.r
-share/rlab/controls-toolbox/dcovartest.r
-share/rlab/controls-toolbox/ddamp.r
-share/rlab/controls-toolbox/ddamptest.r
-share/rlab/controls-toolbox/ddcgain.r
-share/rlab/controls-toolbox/deconv.r
-share/rlab/controls-toolbox/deconvtest.r
-share/rlab/controls-toolbox/destim.r
-share/rlab/controls-toolbox/dfrqint.r
-share/rlab/controls-toolbox/dfrqint2.r
-share/rlab/controls-toolbox/dgram.r
-share/rlab/controls-toolbox/dgramtest.r
-share/rlab/controls-toolbox/dimpulse.r
-share/rlab/controls-toolbox/dimpulse_plot.r
-share/rlab/controls-toolbox/dinitial.r
-share/rlab/controls-toolbox/dinitialtest.r
-share/rlab/controls-toolbox/diskdemo.r
-share/rlab/controls-toolbox/displaypoles.r
-share/rlab/controls-toolbox/distsl.r
-share/rlab/controls-toolbox/dlqe.r
-share/rlab/controls-toolbox/dlqew.r
-share/rlab/controls-toolbox/dlqr.r
-share/rlab/controls-toolbox/dlqr2.r
-share/rlab/controls-toolbox/dlqrtest.r
-share/rlab/controls-toolbox/dlqry.r
-share/rlab/controls-toolbox/dlsim.r
-share/rlab/controls-toolbox/dlsimtest.r
-share/rlab/controls-toolbox/dlsimtest2.r
-share/rlab/controls-toolbox/dlyap.r
-share/rlab/controls-toolbox/dlyap_old.r
-share/rlab/controls-toolbox/dmodred.r
-share/rlab/controls-toolbox/dreg.r
-share/rlab/controls-toolbox/dric.r
-share/rlab/controls-toolbox/drmodel.r
-share/rlab/controls-toolbox/dsort.r
-share/rlab/controls-toolbox/dstep.r
-share/rlab/controls-toolbox/dsteptest.r
-share/rlab/controls-toolbox/dtimvec.r
-share/rlab/controls-toolbox/eignm.r
-share/rlab/controls-toolbox/eigsen.r
-share/rlab/controls-toolbox/eigsen2.r
-share/rlab/controls-toolbox/eigtest.r
-share/rlab/controls-toolbox/esort.r
-share/rlab/controls-toolbox/esort_old.r
-share/rlab/controls-toolbox/estim.r
-share/rlab/controls-toolbox/feedback.r
-share/rlab/controls-toolbox/freqint.r
-share/rlab/controls-toolbox/freqint2.r
-share/rlab/controls-toolbox/freqrc.r
-share/rlab/controls-toolbox/freqresp.r
-share/rlab/controls-toolbox/givens.r
-share/rlab/controls-toolbox/glqe.r
-share/rlab/controls-toolbox/glqr.r
-share/rlab/controls-toolbox/glqry.r
-share/rlab/controls-toolbox/gram.r
-share/rlab/controls-toolbox/gric.r
-share/rlab/controls-toolbox/housh.r
-share/rlab/controls-toolbox/impulse.r
-share/rlab/controls-toolbox/impulse2.r
-share/rlab/controls-toolbox/impulse2_old.r
-share/rlab/controls-toolbox/impulse_old.r
-share/rlab/controls-toolbox/impulsetest.r
-share/rlab/controls-toolbox/initial.r
-share/rlab/controls-toolbox/initialtest.r
-share/rlab/controls-toolbox/isempty.r
-share/rlab/controls-toolbox/isstr.r
-share/rlab/controls-toolbox/isvec.r
-share/rlab/controls-toolbox/jetdemo.r
-share/rlab/controls-toolbox/jpinv.r
-share/rlab/controls-toolbox/kalmdemo.r
-share/rlab/controls-toolbox/lab2str.r
-share/rlab/controls-toolbox/logm2.r
-share/rlab/controls-toolbox/lqe.r
-share/rlab/controls-toolbox/lqemsf.r
-share/rlab/controls-toolbox/lqew.r
-share/rlab/controls-toolbox/lqr.r
-share/rlab/controls-toolbox/lqr2.r
-share/rlab/controls-toolbox/lqr_old.r
-share/rlab/controls-toolbox/lqrmsf.r
-share/rlab/controls-toolbox/lqrtest.r
-share/rlab/controls-toolbox/lqry.r
-share/rlab/controls-toolbox/lqrymsf.r
-share/rlab/controls-toolbox/lsim.r
-share/rlab/controls-toolbox/lsimtest.r
-share/rlab/controls-toolbox/lsimtest2.r
-share/rlab/controls-toolbox/ltifr.r
-share/rlab/controls-toolbox/ltitr.r
-share/rlab/controls-toolbox/lyap2.r
-share/rlab/controls-toolbox/lyap_old.r
-share/rlab/controls-toolbox/lyapcheck.r
-share/rlab/controls-toolbox/lyaptest.r
-share/rlab/controls-toolbox/margin.r
-share/rlab/controls-toolbox/minreal.r
-share/rlab/controls-toolbox/modred.r
-share/rlab/controls-toolbox/mulresp.r
-share/rlab/controls-toolbox/nargchk.r
-share/rlab/controls-toolbox/nyquist.r
-share/rlab/controls-toolbox/obsv.r
-share/rlab/controls-toolbox/obsvf.r
-share/rlab/controls-toolbox/ord2.r
-share/rlab/controls-toolbox/orth.r
-share/rlab/controls-toolbox/parallel.r
-share/rlab/controls-toolbox/perpxy.r
-share/rlab/controls-toolbox/place.r
-share/rlab/controls-toolbox/poly2str.r
-share/rlab/controls-toolbox/poly_old.r
-share/rlab/controls-toolbox/polyval.r
-share/rlab/controls-toolbox/printsys.r
-share/rlab/controls-toolbox/printsys_old.r
-share/rlab/controls-toolbox/pzmap.r
-share/rlab/controls-toolbox/reg.r
-share/rlab/controls-toolbox/ric.r
-share/rlab/controls-toolbox/rlocfind.r
-share/rlab/controls-toolbox/rlocus.r
-share/rlab/controls-toolbox/rlocus_old.r
-share/rlab/controls-toolbox/rlocus_plot.r
-share/rlab/controls-toolbox/rlocus_test.r
-share/rlab/controls-toolbox/rmodel.r
-share/rlab/controls-toolbox/roots.r
-share/rlab/controls-toolbox/rsf2csf.r
-share/rlab/controls-toolbox/schord.r
-share/rlab/controls-toolbox/series.r
-share/rlab/controls-toolbox/sigma.r
-share/rlab/controls-toolbox/sigma2.r
-share/rlab/controls-toolbox/sigma_plot.r
-share/rlab/controls-toolbox/simdata.r
-share/rlab/controls-toolbox/singsen.r
-share/rlab/controls-toolbox/ss2ss.r
-share/rlab/controls-toolbox/ss2tf.r
-share/rlab/controls-toolbox/ss2zp.r
-share/rlab/controls-toolbox/ssdelete.r
-share/rlab/controls-toolbox/ssdelete_old.r
-share/rlab/controls-toolbox/ssselect.r
-share/rlab/controls-toolbox/ssselecttest.r
-share/rlab/controls-toolbox/stairs.r
-share/rlab/controls-toolbox/step.r
-share/rlab/controls-toolbox/step_old.r
-share/rlab/controls-toolbox/stepfun.r
-share/rlab/controls-toolbox/steptest.r
-share/rlab/controls-toolbox/strcom.r
-share/rlab/controls-toolbox/t.r
-share/rlab/controls-toolbox/tf2ss.r
-share/rlab/controls-toolbox/tf2ss_new.r
-share/rlab/controls-toolbox/tf2zp.r
-share/rlab/controls-toolbox/tfchk.r
-share/rlab/controls-toolbox/timeplot.r
-share/rlab/controls-toolbox/timvec.r
-share/rlab/controls-toolbox/tzero.r
-share/rlab/controls-toolbox/tzero2.r
-share/rlab/controls-toolbox/tzero_old.r
-share/rlab/controls-toolbox/tzreduce.r
-share/rlab/controls-toolbox/tzreduce_old.r
-share/rlab/controls-toolbox/unwrap.r
-share/rlab/controls-toolbox/vsort.r
-share/rlab/controls-toolbox/xc12.r
-share/rlab/controls-toolbox/xg123.r
-share/rlab/controls-toolbox/xgpart.r
-share/rlab/controls-toolbox/xhpart.r
-share/rlab/controls-toolbox/xsi.r
-share/rlab/controls-toolbox/xsopt.r
-share/rlab/controls-toolbox/xvcost.r
-share/rlab/controls-toolbox/zgrid.r
-share/rlab/controls-toolbox/zp2ss.r
-share/rlab/controls-toolbox/zp2tf.r
-share/rlab/examples/contour.r
-share/rlab/examples/curve_fit.r
-share/rlab/examples/detrend.r
-share/rlab/examples/dltest1.c
-share/rlab/examples/estimate.r
-share/rlab/examples/fourier.r
-share/rlab/examples/geom.r
-share/rlab/examples/gp_plot_test.r
-share/rlab/examples/least_squares.r
-share/rlab/examples/logo.r
-share/rlab/examples/memtest.r
-share/rlab/examples/ode_err.r
-share/rlab/examples/ode_examples.r
-share/rlab/examples/plhold_demo.r
-share/rlab/examples/plimag_demo.r
-share/rlab/examples/plot_test.r
-share/rlab/examples/plot_test_pgplot.r
-share/rlab/examples/primes.r
-share/rlab/examples/test-complex.r
-share/rlab/examples/test-list.r
-share/rlab/examples/test-superlu.r
-share/rlab/examples/test.ascii
-share/rlab/examples/test.b
-share/rlab/examples/test.getline
-share/rlab/examples/test.input
-share/rlab/examples/test.r
-share/rlab/examples/tfd_ex1.r
-share/rlab/examples/tfd_ex2.r
-share/rlab/help/INTRO
-share/rlab/help/abs
-share/rlab/help/acos
-share/rlab/help/all
-share/rlab/help/any
-share/rlab/help/asin
-share/rlab/help/atan
-share/rlab/help/atan2
-share/rlab/help/backsub
-share/rlab/help/balance
-share/rlab/help/ceil
-share/rlab/help/chol
-share/rlab/help/class
-share/rlab/help/clear
-share/rlab/help/close
-share/rlab/help/conditions
-share/rlab/help/conj
-share/rlab/help/cos
-share/rlab/help/cumprod
-share/rlab/help/cumsum
-share/rlab/help/det
-share/rlab/help/diag
-share/rlab/help/diary
-share/rlab/help/dlopen
-share/rlab/help/eig
-share/rlab/help/entinfo
-share/rlab/help/error
-share/rlab/help/eval
-share/rlab/help/exist
-share/rlab/help/exp
-share/rlab/help/factor
-share/rlab/help/fft
-share/rlab/help/filter
-share/rlab/help/find
-share/rlab/help/finite
-share/rlab/help/floor
-share/rlab/help/format
-share/rlab/help/fprintf
-share/rlab/help/fread
-share/rlab/help/frexp
-share/rlab/help/fseek
-share/rlab/help/full
-share/rlab/help/fwrite
-share/rlab/help/getenv
-share/rlab/help/getline
-share/rlab/help/help
-share/rlab/help/hess
-share/rlab/help/ifft
-share/rlab/help/imag
-share/rlab/help/inf
-share/rlab/help/int
-share/rlab/help/isinf
-share/rlab/help/isnan
-share/rlab/help/issymm
-share/rlab/help/ldexp
-share/rlab/help/length
-share/rlab/help/load
-share/rlab/help/log
-share/rlab/help/log10
-share/rlab/help/logb
-share/rlab/help/max
-share/rlab/help/maxi
-share/rlab/help/members
-share/rlab/help/min
-share/rlab/help/mini
-share/rlab/help/mnorm
-share/rlab/help/mod
-share/rlab/help/nan
-share/rlab/help/nlleastsq
-share/rlab/help/ode
-share/rlab/help/ones
-share/rlab/help/open
-share/rlab/help/printf
-share/rlab/help/prod
-share/rlab/help/putenv
-share/rlab/help/qr
-share/rlab/help/quit
-share/rlab/help/rand
-share/rlab/help/rcond
-share/rlab/help/read
-share/rlab/help/readm
-share/rlab/help/real
-share/rlab/help/require
-share/rlab/help/reshape
-share/rlab/help/rfile
-share/rlab/help/round
-share/rlab/help/schur
-share/rlab/help/sign
-share/rlab/help/sin
-share/rlab/help/size
-share/rlab/help/sizeof
-share/rlab/help/sleep
-share/rlab/help/solve
-share/rlab/help/sort
-share/rlab/help/sparse
-share/rlab/help/spconvert
-share/rlab/help/spfactor
-share/rlab/help/sprintf
-share/rlab/help/spsolve
-share/rlab/help/spwrite
-share/rlab/help/sqrt
-share/rlab/help/srand
-share/rlab/help/strsplt
-share/rlab/help/strtod
-share/rlab/help/strtol
-share/rlab/help/sum
-share/rlab/help/svd
-share/rlab/help/sylv
-share/rlab/help/system
-share/rlab/help/tan
-share/rlab/help/tic
-share/rlab/help/tmpnam
-share/rlab/help/toc
-share/rlab/help/type
-share/rlab/help/vpnorm
-share/rlab/help/warranty
-share/rlab/help/write
-share/rlab/help/writem
-share/rlab/help/zeros
-share/rlab/rlib/clearall.r
-share/rlab/rlib/compan.r
-share/rlab/rlib/complement.r
-share/rlab/rlib/cross.r
-share/rlab/rlib/diff.r
-share/rlab/rlib/disp.r
-share/rlab/rlib/dot.r
-share/rlab/rlib/eye.r
-share/rlab/rlib/fix.r
-share/rlab/rlib/input.r
-share/rlab/rlib/intersection.r
-share/rlab/rlib/inv.r
-share/rlab/rlib/isempty.r
-share/rlab/rlib/isreal.r
-share/rlab/rlib/linspace.r
-share/rlab/rlib/logspace.r
-share/rlab/rlib/lu.r
-share/rlab/rlib/lyap.r
-share/rlab/rlib/norm.r
-share/rlab/rlib/num2str.r
-share/rlab/rlib/pause.r
-share/rlab/rlib/poly.r
-share/rlab/rlib/rem.r
-share/rlab/rlib/save.r
-share/rlab/rlib/set.r
-share/rlab/rlib/setstr.r
-share/rlab/rlib/show.r
-share/rlab/rlib/symm.r
-share/rlab/rlib/trace.r
-share/rlab/rlib/tril.r
-share/rlab/rlib/triu.r
-share/rlab/rlib/union.r
-share/rlab/rlib/what.r
-share/rlab/rlib/who.r
-share/rlab/rlib/whos.r
-share/rlab/toolbox/anc.r
-share/rlab/toolbox/angle.r
-share/rlab/toolbox/ascii.r
-share/rlab/toolbox/autospec.r
-share/rlab/toolbox/avsmooth.r
-share/rlab/toolbox/bandred.r
-share/rlab/toolbox/cholsub.r
-share/rlab/toolbox/conv.r
-share/rlab/toolbox/corr.r
-share/rlab/toolbox/crosspec.r
-share/rlab/toolbox/czt.r
-share/rlab/toolbox/dec2hex.r
-share/rlab/toolbox/detrend.r
-share/rlab/toolbox/expm.r
-share/rlab/toolbox/faxis.r
-share/rlab/toolbox/fliplr.r
-share/rlab/toolbox/flipud.r
-share/rlab/toolbox/fraction.r
-share/rlab/toolbox/fsolve.r
-share/rlab/toolbox/funm.r
-share/rlab/toolbox/geom.r
-share/rlab/toolbox/hankel.r
-share/rlab/toolbox/hex2dec.r
-share/rlab/toolbox/hilbert.r
-share/rlab/toolbox/house.r
-share/rlab/toolbox/join.r
-share/rlab/toolbox/lininsrt.r
-share/rlab/toolbox/lintrp.r
-share/rlab/toolbox/lintrp2.r
-share/rlab/toolbox/logm.r
-share/rlab/toolbox/magic.r
-share/rlab/toolbox/mdsmax.r
-share/rlab/toolbox/mdsmooth.r
-share/rlab/toolbox/mean.r
-share/rlab/toolbox/median.r
-share/rlab/toolbox/nextpow2.r
-share/rlab/toolbox/nmsmax.r
-share/rlab/toolbox/ode4.r
-share/rlab/toolbox/ode78.r
-share/rlab/toolbox/optimum.r
-share/rlab/toolbox/phase.r
-share/rlab/toolbox/pinv.r
-share/rlab/toolbox/polyfit.r
-share/rlab/toolbox/printmat.r
-share/rlab/toolbox/qmult.r
-share/rlab/toolbox/quadr.r
-share/rlab/toolbox/randsvd.r
-share/rlab/toolbox/rank.r
-share/rlab/toolbox/rbench.r
-share/rlab/toolbox/readstr.r
-share/rlab/toolbox/sparsify.r
-share/rlab/toolbox/spdiags.r
-share/rlab/toolbox/speye.r
-share/rlab/toolbox/spfun.r
-share/rlab/toolbox/sprand.r
-share/rlab/toolbox/spy.r
-share/rlab/toolbox/spzeros.r
-share/rlab/toolbox/ssi.r
-share/rlab/toolbox/std.r
-share/rlab/toolbox/surspl.r
-share/rlab/toolbox/tfd.r
-share/rlab/toolbox/toeplitz.r
-share/rlab/toolbox/tolower.r
-share/rlab/toolbox/toupper.r
-share/rlab/toolbox/trapz.r
-share/rlab/toolbox/window.r
-share/rlab/toolbox/writeltx.r
-share/rlab/toolbox/zodiac.r
diff --git a/math/rlab/PLIST.gnuplot b/math/rlab/PLIST.gnuplot
deleted file mode 100644
index ac2d5d37105..00000000000
--- a/math/rlab/PLIST.gnuplot
+++ /dev/null
@@ -1,100 +0,0 @@
-@comment $NetBSD: PLIST.gnuplot,v 1.1 2001/11/01 00:36:04 zuntum Exp $
-share/rlab/help/autoscale
-share/rlab/help/autotics
-share/rlab/help/axis
-share/rlab/help/cont
-share/rlab/help/copyplot
-share/rlab/help/defplotwin
-share/rlab/help/epsplot
-share/rlab/help/gnuplot
-share/rlab/help/grid
-share/rlab/help/hist
-share/rlab/help/key
-share/rlab/help/label
-share/rlab/help/latexplot
-share/rlab/help/linenumbers
-share/rlab/help/linestyle
-share/rlab/help/loglog
-share/rlab/help/loglog2
-share/rlab/help/multiplot
-share/rlab/help/mx2tics
-share/rlab/help/mxtics
-share/rlab/help/my2tics
-share/rlab/help/mytics
-share/rlab/help/mztics
-share/rlab/help/noautoscale
-share/rlab/help/noaxis
-share/rlab/help/nogrid
-share/rlab/help/nokey
-share/rlab/help/nolabel
-share/rlab/help/nolog
-share/rlab/help/nolog2
-share/rlab/help/nomultiplot
-share/rlab/help/nomx2tics
-share/rlab/help/nomxtics
-share/rlab/help/nomy2tics
-share/rlab/help/nomytics
-share/rlab/help/nomztics
-share/rlab/help/notime
-share/rlab/help/notitle
-share/rlab/help/nox2tics
-share/rlab/help/noxtics
-share/rlab/help/noy2tics
-share/rlab/help/noytics
-share/rlab/help/noztics
-share/rlab/help/origin
-share/rlab/help/pclose
-share/rlab/help/pcloseall
-share/rlab/help/pend
-share/rlab/help/pformat
-share/rlab/help/phelp
-share/rlab/help/plot
-share/rlab/help/plot2
-share/rlab/help/pobj_list
-share/rlab/help/pointsize
-share/rlab/help/printplot
-share/rlab/help/psave
-share/rlab/help/psize
-share/rlab/help/psplot
-share/rlab/help/pssave
-share/rlab/help/pstring
-share/rlab/help/pview
-share/rlab/help/range
-share/rlab/help/range2
-share/rlab/help/replot
-share/rlab/help/replot2
-share/rlab/help/semilogx
-share/rlab/help/semilogx2
-share/rlab/help/semilogy
-share/rlab/help/semilogy2
-share/rlab/help/setterm
-share/rlab/help/showplot
-share/rlab/help/showpwin
-share/rlab/help/splot
-share/rlab/help/time
-share/rlab/help/title
-share/rlab/help/x2label
-share/rlab/help/x2range
-share/rlab/help/x2tics
-share/rlab/help/xlabel
-share/rlab/help/xrange
-share/rlab/help/xtics
-share/rlab/help/y2label
-share/rlab/help/y2range
-share/rlab/help/y2tics
-share/rlab/help/ylabel
-share/rlab/help/yrange
-share/rlab/help/ytics
-share/rlab/help/zlabel
-share/rlab/help/zrange
-share/rlab/help/ztics
-share/rlab/rlib/gp-compat.r
-share/rlab/rlib/plot.r
-@dirrm share/rlab/toolbox
-@dirrm share/rlab/rlib
-@dirrm share/rlab/help
-@dirrm share/rlab/examples
-@dirrm share/rlab/controls-toolbox
-@dirrm share/doc/html/rlab
-@dirrm share/doc/rlab
-@dirrm share/rlab
diff --git a/math/rlab/PLIST.pgraf b/math/rlab/PLIST.pgraf
deleted file mode 100644
index e27bf776524..00000000000
--- a/math/rlab/PLIST.pgraf
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD: PLIST.pgraf,v 1.1 2001/11/01 00:36:04 zuntum Exp $
-share/rlab/rlib/pgraf.r
-share/rlab/examples/pgdemo.r
-@dirrm share/rlab/toolbox
-@dirrm share/rlab/rlib
-@dirrm share/rlab/help
-@dirrm share/rlab/examples
-@dirrm share/rlab/controls-toolbox
-@dirrm share/doc/html/rlab
-@dirrm share/doc/rlab
-@dirrm share/rlab
diff --git a/math/rlab/PLIST.plotmtv b/math/rlab/PLIST.plotmtv
deleted file mode 100644
index b028ebd9ecd..00000000000
--- a/math/rlab/PLIST.plotmtv
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST.plotmtv,v 1.1 2001/11/01 00:36:04 zuntum Exp $
-share/rlab/rlib/plotmtv.r
-@dirrm share/rlab/toolbox
-@dirrm share/rlab/rlib
-@dirrm share/rlab/help
-@dirrm share/rlab/examples
-@dirrm share/rlab/controls-toolbox
-@dirrm share/doc/html/rlab
-@dirrm share/doc/rlab
-@dirrm share/rlab
diff --git a/math/rlab/PLIST.plplot b/math/rlab/PLIST.plplot
deleted file mode 100644
index d878ab6f2cd..00000000000
--- a/math/rlab/PLIST.plplot
+++ /dev/null
@@ -1,56 +0,0 @@
-@comment $NetBSD: PLIST.plplot,v 1.1 2001/11/01 00:36:04 zuntum Exp $
-share/rlab/help/getplot
-share/rlab/help/pl3d
-share/rlab/help/plalt
-share/rlab/help/plaspect
-share/rlab/help/plaxis
-share/rlab/help/plaz
-share/rlab/help/plbar
-share/rlab/help/plclose
-share/rlab/help/plcont
-share/rlab/help/plegend
-share/rlab/help/plend
-share/rlab/help/plerry
-share/rlab/help/plfill
-share/rlab/help/plfont
-share/rlab/help/plgrid
-share/rlab/help/plgrid3
-share/rlab/help/plhist
-share/rlab/help/plhistx
-share/rlab/help/plhold
-share/rlab/help/plhold_off
-share/rlab/help/plimits
-share/rlab/help/plline
-share/rlab/help/plmesh
-share/rlab/help/plot
-share/rlab/help/plot3
-share/rlab/help/plpoint
-share/rlab/help/plprint
-share/rlab/help/plptex
-share/rlab/help/plschr
-share/rlab/help/plscol0
-share/rlab/help/plsfile
-share/rlab/help/plsori
-share/rlab/help/plssym
-share/rlab/help/plstart
-share/rlab/help/plstyle
-share/rlab/help/pltitle
-share/rlab/help/plwid
-share/rlab/help/plwin
-share/rlab/help/plwin_init
-share/rlab/help/replot
-share/rlab/help/set3d
-share/rlab/help/showplwin
-share/rlab/help/subplot
-share/rlab/help/xlabel
-share/rlab/help/ylabel
-share/rlab/help/zlabel
-share/rlab/rlib/plot.r
-@dirrm share/rlab/toolbox
-@dirrm share/rlab/rlib
-@dirrm share/rlab/help
-@dirrm share/rlab/examples
-@dirrm share/rlab/controls-toolbox
-@dirrm share/doc/html/rlab
-@dirrm share/doc/rlab
-@dirrm share/rlab
diff --git a/math/rlab/distinfo b/math/rlab/distinfo
deleted file mode 100644
index fa2949427ad..00000000000
--- a/math/rlab/distinfo
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: distinfo,v 1.5 2003/07/02 20:39:17 jtb Exp $
-
-SHA1 (rlab-2.1.05.tar.gz) = 5b465b45ac1225c89f8375fc0945c485c0b1fa4b
-Size (rlab-2.1.05.tar.gz) = 2767728 bytes
-SHA1 (patch-aa) = 6b177a66de9262c4f6fcd6fcd48bc897f3a7bbe2
-SHA1 (patch-ab) = 1199d0b1a6674670d59af1f3d9ab0d67c1584ab1
-SHA1 (patch-ai) = f17edcd7a63861a23d415c73340095730168eae9
-SHA1 (patch-aj) = cbae9f8163c4f680ee261d3440de0940c05f51ae
-SHA1 (patch-ak) = cd9e96103f90f80b92c26dd053032cfbec0dc512
-SHA1 (patch-al) = 824c825d0ab47328ed43127a0680067c666a7ac0
-SHA1 (patch-am) = efa48be1acecfee52d091d01eb68b07c72a8d0e2
-SHA1 (patch-ap) = a96d358d5f44f92ea718abfadc74b88d9f0ae93e
-SHA1 (patch-aq) = 5dbb4b12bc2eb675b7e598b9806276d63695a4ee
-SHA1 (patch-ar) = bdb63186d7034e6d300e63a7cf94ac0d9b743ba8
diff --git a/math/rlab/patches/patch-aa b/math/rlab/patches/patch-aa
deleted file mode 100644
index 7d9a2b1ecd8..00000000000
--- a/math/rlab/patches/patch-aa
+++ /dev/null
@@ -1,134 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2002/10/02 20:56:35 dillo Exp $
-
---- configure.in.orig Fri Dec 17 16:01:06 1999
-+++ configure.in
-@@ -284,7 +284,7 @@
- ar r libfitest_f.a fitest_f.o
- OLD_LIBS="$LIBS"
- LIBS="-L. -lfitest_f"
-- CFLAGS="-DUSE_UPPER"
-+ CFLAGS="$CFLAGS -DUSE_UPPER"
- ]
-
- AC_TRY_RUN([#include "fitest.h"
-@@ -298,7 +298,7 @@
- [F77CONV="no"])
-
- [ if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_F2C" ]
-+ CFLAGS="$CFLAGS -DUSE_F2C" ]
- AC_TRY_RUN([#include "fitest.h"
- main()
- {
-@@ -311,7 +311,7 @@
- [ fi ]
-
- [ if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_LOWER" ]
-+ CFLAGS="$CFLAGS -DUSE_LOWER" ]
- AC_TRY_RUN([#include "fitest.h"
- main()
- {
-@@ -324,7 +324,7 @@
- [ fi ]
-
- [ if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_FRONT" ]
-+ CFLAGS="$CFLAGS -DUSE_FRONT" ]
- AC_TRY_RUN([#include "fitest.h"
- main()
- {
-@@ -524,7 +524,7 @@
- if test -z "$x_libraries" ; then
- xlibdir=""
- else
-- xlibdir="-L$x_libraries"
-+ xlibdir="-Wl,-R$x_libraries -L$x_libraries"
- fi
-
- X11LIB="$xlibdir -lX11"
-@@ -551,12 +551,6 @@
- PLOT_PROG="gnuplot"
- ])
-
--[
--if test -n "$PLOT_PROG" ; then
-- ] AC_CHECK_PROG(PLOT_PROG, gnuplot, gnuplot, nothing) [
--fi
--]
--
- dnl ------------------------------------------------------------------
- dnl Check for specification of Plplot directory root
- dnl
-@@ -572,11 +566,12 @@
- exit 1;
- fi
-
-+ AC_DEFINE(HAVE_RLAB_PLPLOT)
- PLOT_PROG="plplot"
-- PLIB_DIR=-L$withval
-+ PLIB_DIR=-L$withval/lib
- PLOT_DIR="$withval"
-- PLIB_INC_DIR="-I$withval"
-- PLIBS="-L$withval -lplplotdX $X11LIB"
-+ PLIB_INC_DIR=-I$withval/include
-+ PLIBS=`plplot_linkage`
- ])
-
- dnl ------------------------------------------------------------------
-@@ -593,12 +588,6 @@
- PLOT_PROG="plotmtv"
- ])
-
--[
--if test "$PLOT_PROG" = "plotmtv" ; then
-- ] AC_CHECK_PROG(PLOT_PROG, plotmtv, plotmtv, nothing) [
--fi
--]
--
- dnl ------------------------------------------------------------------
- dnl Use the Pgraf interface.
- dnl
-@@ -613,12 +602,6 @@
- PLOT_PROG="pgraf"
- ])
-
--[
--if test "$PLOT_PROG" = "pgraf" ; then
-- ] AC_CHECK_PROG(PLOT_PROG, pgraf, pgraf, nothing) [
--fi
--]
--
- dnl ------------------------------------------------------------------
- dnl Check for specification of PGplot directory root
- dnl
-@@ -648,14 +631,13 @@
- dnl then setup for GC. The default action (nothing is specified) is to
- dnl configure for GC.
-
--AC_ARG_ENABLE(GC,
-- [ --disable-GC disable use of the Garbage-Collector],
-- [if test "$enableval" = "yes" ; then
-- AC_DEFINE(HAVE_GC) [LIBGC="../gc/gc.a";
-- IGC="-I./gc"]
-- fi],
-- [AC_DEFINE(HAVE_GC) [LIBGC="./gc/gc.a";
-- IGC="-I./gc"]])
-+AC_ARG_WITH(GC,
-+ [ --with-GC use the Garbage-Collector],
-+ AC_DEFINE(HAVE_GC)
-+ LIBGC="-L$withval/lib -lgc"
-+ IGC="-I$withval/include -I./gc"
-+)
-+
- dnl ------------------------------------------------------------------
-
- AC_TRY_LINK([#include <stdio.h>],
-@@ -738,6 +720,7 @@
- AC_SUBST(PAGER)
- AC_SUBST(CFLAGS)
- AC_SUBST(FFLAGS)
-+AC_SUBST(LDLAGS)
- AC_SUBST(EXFLAGS)
- AC_SUBST(C_SH_FLAGS)
- AC_SUBST(F_SH_FLAGS)
diff --git a/math/rlab/patches/patch-ab b/math/rlab/patches/patch-ab
deleted file mode 100644
index 54858559859..00000000000
--- a/math/rlab/patches/patch-ab
+++ /dev/null
@@ -1,334 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2003/07/02 20:39:17 jtb Exp $
-
---- Makefile.in.orig
-+++ Makefile.in
-@@ -151,13 +151,13 @@
- # Silicon Graphics machines need this for popen()
- # SPECIAL_FLAGS = -ansiposix
-
--SPECIAL_FLAGS = -DASSERT_OFF $(IGC)
-+SPECIAL_FLAGS = $(CPPFLAGS) -DASSERT_OFF $(IGC)
-
- # prefix: The parent directory for the installation
- prefix = @prefix@
- exec_prefix = @exec_prefix@
- bindir = $(exec_prefix)/bin
--libdir = $(exec_prefix)/lib
-+libdir = $(exec_prefix)/share
- mand = $(exec_prefix)/man
- mandir = $(exec_prefix)/man/man1
- buildir = @BUILD_DIR@
-@@ -166,9 +166,9 @@
- # Don't change these without modifying the install actions
- #
-
--TOPDIR = $(libdir)/rlab-$(VER)
--DOCDIR = $(TOPDIR)/doc
--RHELPDIR = $(TOPDIR)/doc/help
-+TOPDIR = $(libdir)/rlab
-+DOCDIR = $(prefix)/share/doc/rlab
-+RHELPDIR = $(TOPDIR)/help
- RLIBDIR = $(TOPDIR)/rlib
- DEFAULT_RC0 = $(TOPDIR)/.rlab
- TOOLBOX = $(TOPDIR)/toolbox
-@@ -236,7 +236,7 @@
- SRC = $(R_SRC) $(F_SRC) $(EXTRA_SRC) $(GNU_SRC) $(CMD_SRC)
- OBJ = $(R_OBJ) $(F_OBJ) $(EXTRA_OBJ) $(GNU_OBJ) $(CMD_OBJ)
-
--all: gc libs rlab
-+all: libs rlab
-
- libs: $(LAPACK) $(BLAS) $(FFTPACK) $(Ranlib) $(Minpack)
-
-@@ -268,7 +268,7 @@
-
- rlab: $(OBJ)
- $(F77) $(EXFLAGS) $(CFLAGS) $(DEFS) $(SPECIAL_FLAGS) \
-- $(OBJ) $(R_LIBS) $(PLOT_LIBS) -o rlab
-+ $(OBJ) $(LDFLAGS) $(R_LIBS) $(PLOT_LIBS) -o rlab
-
- #
- # Ignore these unless you know what CodeTEST Native for Solaris is.
-@@ -301,51 +301,67 @@
- COPYDIR = rlib toolbox controls-toolbox doc examples .rlab config.h test.r \
- test.getline test.input Makefile
-
--install: rlab mkdir
-- -if [ `/bin/pwd` != `(cd ${TOPDIR}; /bin/pwd)` ] ; then \
-- tar cf - ${COPYDIR} [A-Z]* | (cd ${TOPDIR}; umask 022; tar xf - ) ;\
-- fi
-- if test "$(PLOT_PROG)" = "plplot" ; then\
-- cp misc/plplot.r ${TOPDIR}/rlib/plot.r;\
-- cd misc/plhelp; tar cf - . | (cd ${RHELPDIR}; umask 022; tar xf - ) ;\
-- fi
-- if test "$(PLOT_PROG)" = "pgplot" ; then\
-- cp misc/pgplot.r ${TOPDIR}/rlib/plot.r;\
-- cd misc/pghelp; tar cf - . | (cd ${RHELPDIR}; umask 022; tar xf - ) ;\
-+install: rlab
-+ $(BSD_INSTALL_DATA_DIR) $(TOPDIR)
-+ $(BSD_INSTALL_DATA) $(buildir)/.rlab $(TOPDIR)
-+ $(BSD_INSTALL_DATA_DIR) $(RLIBDIR)
-+ @for f in $(buildir)/rlib/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(RLIBDIR)"; \
-+ echo $$i; $$i; \
-+ done
-+ $(BSD_INSTALL_DATA_DIR) $(TOOLBOX)
-+ @for f in $(buildir)/toolbox/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(TOOLBOX)"; \
-+ echo $$i; $$i; \
-+ done
-+ $(BSD_INSTALL_DATA_DIR) $(CTOOLBOX)
-+ @for f in $(buildir)/controls-toolbox/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(CTOOLBOX)"; \
-+ echo $$i; $$i; \
-+ done
-+ $(BSD_INSTALL_DATA_DIR) $(RHELPDIR)
-+ @for f in $(buildir)/doc/help/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(RHELPDIR)"; \
-+ echo $$i; $$i; \
-+ done
-+ $(BSD_INSTALL_DATA_DIR) $(TOPDIR)/examples
-+ @for f in $(buildir)/examples/* $(buildir)/test*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(TOPDIR)/examples/"; \
-+ echo $$i; $$i; \
-+ done
-+ $(BSD_INSTALL_DATA_DIR) $(prefix)/share/doc/rlab
-+ $(BSD_INSTALL_DATA) $(buildir)/doc/rlab-ref.ps $(DOCDIR)
-+ $(BSD_INSTALL_DATA_DIR) $(prefix)/share/doc/html/rlab
-+ @for f in $(buildir)/doc/html/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(prefix)/share/doc/html/rlab/"; \
-+ echo $$i; $$i; \
-+ done
-+ if test "$(PLOT_PROG)" = "plplot" ; then \
-+ $(BSD_INSTALL_DATA) $(buildir)/misc/plplot.r $(RLIBDIR)/plot.r;\
-+ for f in $(buildir)/misc/plhelp/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(RHELPDIR)"; \
-+ echo $$i; $$i; \
-+ done \
- fi
- if test "$(PLOT_PROG)" = "gnuplot" ; then\
-- cp misc/gnuplot.r ${TOPDIR}/rlib/plot.r;\
-- cp misc/gp-compat.r ${TOPDIR}/rlib/gp-compat.r;\
-- cd misc/gnuplothelp; tar cf - . | (cd ${RHELPDIR}; umask 022; tar xf - ) ;\
-+ $(BSD_INSTALL_DATA) $(buildir)/misc/gnuplot.r $(RLIBDIR)/plot.r;\
-+ $(BSD_INSTALL_DATA) $(buildir)/misc/gp-compat.r $(RLIBDIR)/gp-compat.r;\
-+ for f in $(buildir)/misc/gnuplothelp/*; do \
-+ i="$(BSD_INSTALL_DATA) $$f $(RHELPDIR)"; \
-+ echo $$i; $$i; \
-+ done \
- fi
- if test "$(PLOT_PROG)" = "plotmtv" ; then\
-- cp misc/plotmtv.r ${TOPDIR}/rlib/plotmtv.r;\
-- fi
-- $(INSTALL_PROGRAM) rlab $(bindir)/rlab-$(VER)
-- if test -x "$(bindir)/rlab2" ; then\
-- rm -f $(bindir)/rlab2;\
-+ $(BSD_INSTALL_DATA) $(buildir)/misc/plotmtv.r $(RLIBDIR);\
- fi
-+ $(BSD_INSTALL_PROGRAM) $(buildir)/rlab $(bindir)/rlab-$(VER)
- sed 's@rlab_exec_prefix@$(exec_prefix)@' ./misc/rlab > ./misc/rlab.tmp.0
- sed 's@rlab_ver_string@$(VER)@' ./misc/rlab.tmp.0 > ./misc/rlab.tmp.1
- sed 's@plot_dir@$(PLOT_DIR)@' ./misc/rlab.tmp.1 > ./misc/rlab.tmp.2
-- sed 's@plot_prog@$(PLOT_PROG)@' ./misc/rlab.tmp.2 > ./misc/rlab2
-+ sed 's@plot_prog@$(PLOT_PROG)@' ./misc/rlab.tmp.2 > ./misc/rlab
- rm -f ./misc/rlab.tmp.0 ./misc/rlab.tmp.1 ./misc/rlab.tmp.2
-- $(INSTALL_PROGRAM) ./misc/rlab2 $(bindir)/rlab2
-- if test "$(LN)" = "ln" ; then\
-- @echo "RECOMMENDED YOU MV $(TOPDIR) to $(libdir)/rlab2";\
-- fi
-- if test "$(LN)" = "ln -s" ; then\
-- if test -r "$(libdir)/rlab2" ; then\
-- mv $(libdir)/rlab2 $(libdir)/rlab2.old;\
-- fi;\
-- cd $(libdir); $(LN) ./rlab-$(VER) ./rlab2;\
-- fi
-- cd $(buildir); $(INSTALL) doc/rlab2.1 $(mandir)/rlab2.1
--
--mkdir:
-- -mkdir $(exec_prefix) $(bindir) $(libdir) $(mand) \
-- $(mandir) $(TOPDIR) $(RLIBDIR) $(DOCDIR) \
-- $(RHELPDIR) $(TOOLBOX) $(CTOOLBOX)
-+ $(BSD_INSTALL_SCRIPT) $(buildir)/misc/rlab $(bindir)
-+ $(BSD_INSTALL_MAN) $(buildir)/doc/rlab2.1 $(mandir)/rlab.1
-
- FRC:
-
-@@ -526,22 +542,21 @@
- #
-
- main.o: main.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h code.h list.h symbol.h util.h rfile.h rfileio.h mdc.h \
-+ mem.h code.h list.h symbol.h util.h rfile.h rfileio.h mdc.h \
- complex.h bltin.h version.h getopt.h class.h bltin1.h bltin2.h \
-- bltin3.h msr.h rfft.h gc/gc_private.h gc/gc_priv.h gc/config.h \
-- gc/gc_hdrs.h fpe.h mathl.h
-+ bltin3.h msr.h rfft.h fpe.h mathl.h
- init.o: init.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
- symbol.h list.h util.h print.h bltin.h bltin1.h bltin2.h bltin3.h \
- msr.h rfft.h rfileio.h mdc.h complex.h rdl.h msrf2.h
- code.o: code.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- code.h list.h symbol.h class.h mem.h gc/gc.h y.tab.h bltin.h \
-+ code.h list.h symbol.h class.h mem.h y.tab.h bltin.h \
- function.h util.h rfile.h mdc.h complex.h
- symbol.o: symbol.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h symbol.h list.h mem.h gc/gc.h function.h util.h
-+ listnode.h symbol.h list.h mem.h function.h util.h
- list.o: list.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- util.h list.h mem.h gc/gc.h
-+ util.h list.h mem.h
- listnode.o: listnode.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h util.h list.h
-+ listnode.h mem.h util.h list.h
- op.o: op.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h code.h \
- list.h symbol.h class.h util.h
- opapp.o: opapp.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-@@ -551,116 +566,116 @@
- complex.o: complex.c complex.h rlab.h config.h ent.h mds.h mdr.h \
- btree.h listnode.h util.h list.h mathl.h
- function.o: function.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h code.h list.h symbol.h function.h util.h mem.h gc/gc.h
-+ listnode.h code.h list.h symbol.h function.h util.h mem.h
- rel.o: rel.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
- code.h list.h symbol.h class.h util.h
- util.o: util.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- code.h list.h symbol.h mem.h gc/gc.h bltin.h mdc.h complex.h \
-+ code.h list.h symbol.h mem.h bltin.h mdc.h complex.h \
- function.h sort.h fpe.h
- btree.o: btree.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- class.h symbol.h list.h function.h util.h mem.h gc/gc.h
-+ class.h symbol.h list.h function.h util.h mem.h
- mm.o: mm.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
- complex.h
- misc.o: misc.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h
- fpe.o: fpe.c config.h
- ent.o: ent.c ent.h mds.h rlab.h config.h listnode.h mdr.h btree.h \
-- class.h mem.h gc/gc.h util.h list.h
-+ class.h mem.h util.h list.h
- mathl.o: mathl.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
- mathl.h complex.h util.h list.h
- rfileio.o: rfileio.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h class.h symbol.h list.h bltin.h mem.h gc/gc.h util.h mdc.h \
-+ listnode.h class.h symbol.h list.h bltin.h mem.h util.h mdc.h \
- complex.h msr.h msc.h mathl.h
- mdr.o: mdr.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h mdrf2.h mdrf1.h mdc.h complex.h util.h list.h bltin1.h \
-+ mem.h mdrf2.h mdrf1.h mdc.h complex.h util.h list.h bltin1.h \
- bltin.h mathl.h fi.h bl.h
- class.o: class.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- util.h list.h class.h mem.h gc/gc.h bltin.h function.h mdrf1.h mdc.h \
-+ util.h list.h class.h mem.h bltin.h function.h mdrf1.h mdc.h \
- complex.h mdcf1.h mdr_mdc.h mdsf1.h mdr_mds.h msr.h msrf1.h msrf2.h \
- msc.h mscf1.h mscf2.h
- diss.o: diss.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
- code.h list.h symbol.h bltin.h print.h util.h
- mdc.o: mdc.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h mdc.h complex.h mdcf2.h mdcf1.h mdr_mdc.h util.h list.h \
-+ mem.h mdc.h complex.h mdcf2.h mdcf1.h mdr_mdc.h util.h list.h \
- bltin1.h bltin.h bl.h fi.h
- mdr_mdc.o: mdr_mdc.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h mdrf1.h mdrf2.h mdc.h complex.h mdcf1.h \
-+ listnode.h mem.h mdrf1.h mdrf2.h mdc.h complex.h mdcf1.h \
- mdcf2.h util.h list.h
- mds.o: mds.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h util.h list.h bltin1.h bltin.h
-+ mem.h util.h list.h bltin1.h bltin.h
- mdr_mds.o: mdr_mds.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h util.h list.h
-+ listnode.h mem.h util.h list.h
- rfile.o: rfile.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- symbol.h list.h mem.h gc/gc.h util.h
-+ symbol.h list.h mem.h util.h
- bltin.o: bltin.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- symbol.h list.h mem.h gc/gc.h bltin.h util.h mathl.h complex.h \
-+ symbol.h list.h mem.h bltin.h util.h mathl.h complex.h \
- class.h rfileio.h mdc.h
- bltin1.o: bltin1.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h bltin.h list.h util.h class.h rfileio.h \
-+ listnode.h mem.h bltin.h list.h util.h class.h rfileio.h \
- mdc.h complex.h mathl.h btreef1.h function.h mdrf1.h mdcf1.h \
- mdr_mdc.h mdsf1.h mdr_mds.h msr.h msrf1.h msc.h mscf1.h
- mdrf1.o: mdrf1.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h mdc.h complex.h util.h list.h mdrf1.h mathl.h symbol.h \
-+ mem.h mdc.h complex.h util.h list.h mdrf1.h mathl.h symbol.h \
- sort.h
- print.o: print.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- symbol.h list.h bltin.h mem.h gc/gc.h util.h rfileio.h mdc.h \
-+ symbol.h list.h bltin.h mem.h util.h rfileio.h mdc.h \
- complex.h class.h scan.h
- getline.o: getline.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h symbol.h list.h mem.h gc/gc.h bltin.h util.h scan.h \
-+ listnode.h symbol.h list.h mem.h bltin.h util.h scan.h \
- print.h class.h rfileio.h mdc.h complex.h
- random.o: random.c rlab.h config.h ent.h mds.h mdr.h btree.h \
- listnode.h bltin.h list.h util.h class.h symbol.h random.h fi.h \
- mdrf1.h
- mdcf1.o: mdcf1.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h mdc.h complex.h util.h list.h symbol.h mathl.h sort.h
-+ mem.h mdc.h complex.h util.h list.h symbol.h mathl.h sort.h
- mdsf1.o: mdsf1.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h util.h list.h symbol.h mathl.h complex.h sort.h
-+ mem.h util.h list.h symbol.h mathl.h complex.h sort.h
- bltin2.o: bltin2.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h bltin.h list.h util.h class.h rfileio.h \
-+ listnode.h mem.h bltin.h list.h util.h class.h rfileio.h \
- mdc.h complex.h mathl.h function.h mdrf1.h mdrf2.h mdcf1.h mdcf2.h \
- mdr_mdc.h mdsf1.h mdr_mds.h msr.h msrf1.h msrf2.h msc.h mscf1.h \
- mscf2.h
- mdrf2.o: mdrf2.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h symbol.h list.h mdrf1.h mdc.h complex.h util.h mathl.h \
-+ mem.h symbol.h list.h mdrf1.h mdc.h complex.h util.h mathl.h \
- fi.h lp.h bl.h
- mdcf2.o: mdcf2.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h symbol.h list.h mdc.h complex.h mdcf1.h util.h mathl.h \
-+ mem.h symbol.h list.h mdc.h complex.h mdcf1.h util.h mathl.h \
- fi.h lp.h bl.h
- rfft.o: rfft.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h symbol.h list.h bltin.h mdc.h complex.h util.h class.h \
-+ mem.h symbol.h list.h bltin.h mdc.h complex.h util.h class.h \
- rfileio.h function.h mdrf1.h mdrf2.h mdcf1.h mdcf2.h mdr_mdc.h \
- mdsf1.h mdr_mds.h msr.h msrf1.h msc.h mscf1.h fftp.h fi.h
- sort.o: sort.c
- r_plot.o: r_plot.c config.h
- rstring.o: rstring.c
- rdl.o: rdl.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- symbol.h list.h bltin.h class.h util.h mem.h gc/gc.h
-+ symbol.h list.h bltin.h class.h util.h mem.h
- odei.o: odei.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- class.h symbol.h list.h mem.h gc/gc.h mdrf1.h bltin.h util.h mathl.h \
-+ class.h symbol.h list.h mem.h mdrf1.h bltin.h util.h mathl.h \
- complex.h function.h lp.h fi.h odei.h
- btreef1.o: btreef1.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h class.h symbol.h list.h function.h util.h mem.h gc/gc.h
-+ listnode.h class.h symbol.h list.h function.h util.h mem.h
- msr.o: msr.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h msr.h util.h list.h bltin1.h bltin.h mathl.h complex.h \
-+ mem.h msr.h util.h list.h bltin1.h bltin.h mathl.h complex.h \
- fi.h sparse.h
- msrf1.o: msrf1.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h msr.h msc.h mdc.h complex.h mscf1.h mdrf1.h util.h \
-+ mem.h msr.h msc.h mdc.h complex.h mscf1.h mdrf1.h util.h \
- list.h symbol.h sort.h mathl.h fi.h sparse.h
- bltin3.o: bltin3.c rlab.h config.h ent.h mds.h mdr.h btree.h \
-- listnode.h mem.h gc/gc.h bltin.h list.h util.h class.h rfileio.h \
-+ listnode.h mem.h bltin.h list.h util.h class.h rfileio.h \
- mdc.h complex.h function.h mdrf1.h mdrf2.h mdcf1.h mdcf2.h mdr_mdc.h \
- mdsf1.h mdr_mds.h msr.h msrf1.h msrf2.h msc.h mscf1.h mscf2.h
- msc.o: msc.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h msr.h msrf1.h mdc.h complex.h msc.h mdr_mdc.h util.h \
-+ mem.h msr.h msrf1.h mdc.h complex.h msc.h mdr_mdc.h util.h \
- list.h bltin1.h bltin.h mathl.h fi.h sparse.h
- mscf1.o: mscf1.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h msr.h msrf1.h mdc.h complex.h msc.h mdr_mdc.h util.h \
-+ mem.h msr.h msrf1.h mdc.h complex.h msc.h mdr_mdc.h util.h \
- list.h symbol.h sort.h mathl.h fi.h sparse.h
- msrf2.o: msrf2.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- mem.h gc/gc.h msr.h msrf1.h mdc.h complex.h msc.h mscf1.h mscf2.h \
-+ mem.h msr.h msrf1.h mdc.h complex.h msc.h mscf1.h mscf2.h \
- mdrf1.h util.h list.h symbol.h sort.h mathl.h class.h fi.h sparse.h \
- mdrf2.h
- mscf2.o: mscf2.c rlab.h config.h ent.h mds.h mdr.h btree.h listnode.h \
-- class.h mem.h gc/gc.h msr.h msc.h mdc.h complex.h mscf1.h mdr_mdc.h \
-+ class.h mem.h msr.h msc.h mdc.h complex.h mscf1.h mdr_mdc.h \
- mdcf1.h util.h list.h symbol.h sort.h fi.h sparse.h mdcf2.h
- r_pgplot.o: r_pgplot.c config.h
- getopt.o: getopt.c
diff --git a/math/rlab/patches/patch-ai b/math/rlab/patches/patch-ai
deleted file mode 100644
index dc915f036ef..00000000000
--- a/math/rlab/patches/patch-ai
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2001/01/31 12:42:14 jtb Exp $
-
---- r_plot.c.orig Wed Jan 31 08:29:57 2001
-+++ r_plot.c
-@@ -56,8 +56,8 @@
- #include <stdio.h>
-
- #define PL_DOUBLE 1
--#include <plplot.h>
--#include <pdf.h>
-+#include <plplot/plplot.h>
-+#include <plplot/pdf.h>
-
- /*
- * If your version of Plplot doesn't have plstrm.h,
-@@ -65,9 +65,9 @@
- */
-
- #ifndef __riscos
--#include <plstrm.h>
-+#include <plplot/plstrm.h>
- #else
--#include <plstream.h>
-+#include <plplot/plstream.h>
- /* #include <plstrm.h> */
- #endif
-
diff --git a/math/rlab/patches/patch-aj b/math/rlab/patches/patch-aj
deleted file mode 100644
index 5d138b32aeb..00000000000
--- a/math/rlab/patches/patch-aj
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aj,v 1.2 2003/07/02 20:39:18 jtb Exp $
-
---- main.c.orig
-+++ main.c
-@@ -239,7 +239,7 @@
- * ************************************************************** */
-
- #ifdef HAVE_GC
--#include "gc_private.h"
-+#include <gc.h>
-
- int real_main (int argc, char *argv[]);
-
-@@ -248,7 +248,7 @@
- {
- int dummy;
-
-- GC_stackbottom = (ptr_t)(&dummy);
-+ GC_stackbottom = (char *)(&dummy);
- return(real_main(argc, argv));
- }
- #endif /* HAVE_GC */
diff --git a/math/rlab/patches/patch-ak b/math/rlab/patches/patch-ak
deleted file mode 100644
index 8f5fbd400fd..00000000000
--- a/math/rlab/patches/patch-ak
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ak,v 1.3 2001/02/02 02:06:44 jtb Exp $
-
---- misc/rlab.orig Wed Apr 21 14:02:13 1999
-+++ misc/rlab
-@@ -21,7 +21,7 @@
- # (unless you are sure of what you are doing).
- #
-
--RD="$RROOT/lib/rlab2" # The parent rlab library directory.
-+RD="$RROOT/share/rlab" # The parent rlab library directory.
- RLABEXE="$RROOT/bin/rlab-$RLAB_VER" # The rlab executable.
-
- #
-@@ -50,7 +50,7 @@
- # The RLaB2 help directory
- #
-
--RLAB2_HELP_DIR="$RD/doc/help"
-+RLAB2_HELP_DIR="$RD/help"
-
- #
- # The pager to use.
diff --git a/math/rlab/patches/patch-al b/math/rlab/patches/patch-al
deleted file mode 100644
index dc93053f77c..00000000000
--- a/math/rlab/patches/patch-al
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-al,v 1.1.1.1 2001/01/31 07:30:55 jtb Exp $
-
---- fpe.c.orig Sat Jan 6 18:22:42 2001
-+++ fpe.c
-@@ -184,22 +184,5 @@
- }
-
- /*****************************************************************************/
--#else /* HAVE_IEEE_HANDLER */
--
--void
--setup_fpe_handling ()
--{
-- ; /* Do nothing */
--}
--
- #endif
--
--#else /* SETUP_FPE */
--
--void
--setup_fpe_handling ()
--{
-- ; /* Do nothing. */
--}
--
--#endif /* SETUP_FPE */
-+#endif
diff --git a/math/rlab/patches/patch-am b/math/rlab/patches/patch-am
deleted file mode 100644
index eb50dfd3499..00000000000
--- a/math/rlab/patches/patch-am
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-am,v 1.1 2001/02/01 04:44:51 jtb Exp $
-
---- doc/rlab2.1.orig Wed May 28 23:29:07 1997
-+++ doc/rlab2.1
-@@ -1,22 +1,22 @@
--.TH RLAB2 1 "16 May 1997" "Version 2.0" "USER COMMANDS"
-+.TH RLAB 1 "16 May 1997" "Version 2.0" "USER COMMANDS"
- .\" strings
- .ds ex \fIexpr\fR
- .SH NAME
--rlab2 \- matrix oriented, interactive programming environment
-+rlab \- matrix oriented, interactive programming environment
-
- .SH SYNOPSIS
--.B rlab2
-+.B rlab
- [\-\fBVdhlmnpqr]
- [file(s)]
- [\-]
- .SH DESCRIPTION
--.B rlab2
-+.B rlab
- is an interpreter for the RLaB Programming Language/Environment.
- The RLaB language is useful for matrix or array oriented numerical
- analyses. RLaB is especially useful for prototyping and experimenting
- with algorithms.
-
--.B rlab2
-+.B rlab
- also provides a convenient
- interface to many of the LAPACK,
- FFTPACK, and RANLIB subroutines.
-@@ -66,7 +66,7 @@
-
- .SH ENVIRONMENT
-
--.B rlab2
-+.B rlab
- checks the values of several environment variables upon
- startup, and uses them to overide the compiled in defaults. If a
- particular environment variable has not been set, the default value is
diff --git a/math/rlab/patches/patch-ap b/math/rlab/patches/patch-ap
deleted file mode 100644
index 2725b50b520..00000000000
--- a/math/rlab/patches/patch-ap
+++ /dev/null
@@ -1,254 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2002/10/02 20:56:35 dillo Exp $
-
---- configure.orig Wed Oct 2 21:50:59 2002
-+++ configure
-@@ -38,7 +38,7 @@ ac_help="$ac_help
- ac_help="$ac_help
- --with-pgplot use PGplot"
- ac_help="$ac_help
-- --disable-GC disable use of the Garbage-Collector"
-+ --with-GC use the Garbage-Collector"
-
- # Initialize some variables set by options.
- # The variables have the same names as the options, with
-@@ -1950,7 +1950,7 @@ echo "configure:1947: checking C -> Fort
- ar r libfitest_f.a fitest_f.o
- OLD_LIBS="$LIBS"
- LIBS="-L. -lfitest_f"
-- CFLAGS="-DUSE_UPPER"
-+ CFLAGS="$CFLAGS -DUSE_UPPER"
-
-
- if test "$cross_compiling" = yes; then
-@@ -1982,7 +1982,7 @@ fi
-
-
- if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_F2C"
-+ CFLAGS="$CFLAGS -DUSE_F2C"
- if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
-@@ -2013,7 +2013,7 @@ fi
- fi
-
- if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_LOWER"
-+ CFLAGS="$CFLAGS -DUSE_LOWER"
- if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
-@@ -2044,7 +2044,7 @@ fi
- fi
-
- if test "$F77CONV" = "no" ; then
-- CFLAGS="-DUSE_FRONT"
-+ CFLAGS="$CFLAGS -DUSE_FRONT"
- if test "$cross_compiling" = yes; then
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
-@@ -3926,7 +3926,7 @@ fi
- if test -z "$x_libraries" ; then
- xlibdir=""
- else
-- xlibdir="-L$x_libraries"
-+ xlibdir="-Wl,-R$x_libraries -L$x_libraries"
- fi
-
- X11LIB="$xlibdir -lX11"
-@@ -4025,41 +4025,6 @@ fi
-
-
-
--if test -n "$PLOT_PROG" ; then
-- # Extract the first word of "gnuplot", so it can be a program name with args.
--set dummy gnuplot; ac_word=$2
--echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--echo "configure:4033: checking for $ac_word" >&5
--if eval "test \"`echo '$''{'ac_cv_prog_PLOT_PROG'+set}'`\" = set"; then
-- echo $ac_n "(cached) $ac_c" 1>&6
--else
-- if test -n "$PLOT_PROG"; then
-- ac_cv_prog_PLOT_PROG="$PLOT_PROG" # Let the user override the test.
--else
-- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-- ac_dummy="$PATH"
-- for ac_dir in $ac_dummy; do
-- test -z "$ac_dir" && ac_dir=.
-- if test -f $ac_dir/$ac_word; then
-- ac_cv_prog_PLOT_PROG="gnuplot"
-- break
-- fi
-- done
-- IFS="$ac_save_ifs"
-- test -z "$ac_cv_prog_PLOT_PROG" && ac_cv_prog_PLOT_PROG="nothing"
--fi
--fi
--PLOT_PROG="$ac_cv_prog_PLOT_PROG"
--if test -n "$PLOT_PROG"; then
-- echo "$ac_t""$PLOT_PROG" 1>&6
--else
-- echo "$ac_t""no" 1>&6
--fi
--
--fi
--
--
--
- # Check whether --with-plplot or --without-plplot was given.
- if test "${with_plplot+set}" = set; then
- withval="$with_plplot"
-@@ -4073,11 +4038,15 @@ if test "${with_plplot+set}" = set; then
- exit 1;
- fi
-
-+ cat >> confdefs.h <<\EOF
-+#define HAVE_RLAB_PLPLOT 1
-+EOF
-+
- PLOT_PROG="plplot"
-- PLIB_DIR=-L$withval
-+ PLIB_DIR=-L$withval/lib
- PLOT_DIR="$withval"
-- PLIB_INC_DIR="-I$withval"
-- PLIBS="-L$withval -lplplotdX $X11LIB"
-+ PLIB_INC_DIR=-I$withval/include
-+ PLIBS=`plplot_linkage`
-
- fi
-
-@@ -4098,41 +4067,6 @@ fi
-
-
-
--if test "$PLOT_PROG" = "plotmtv" ; then
-- # Extract the first word of "plotmtv", so it can be a program name with args.
--set dummy plotmtv; ac_word=$2
--echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--echo "configure:4106: checking for $ac_word" >&5
--if eval "test \"`echo '$''{'ac_cv_prog_PLOT_PROG'+set}'`\" = set"; then
-- echo $ac_n "(cached) $ac_c" 1>&6
--else
-- if test -n "$PLOT_PROG"; then
-- ac_cv_prog_PLOT_PROG="$PLOT_PROG" # Let the user override the test.
--else
-- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-- ac_dummy="$PATH"
-- for ac_dir in $ac_dummy; do
-- test -z "$ac_dir" && ac_dir=.
-- if test -f $ac_dir/$ac_word; then
-- ac_cv_prog_PLOT_PROG="plotmtv"
-- break
-- fi
-- done
-- IFS="$ac_save_ifs"
-- test -z "$ac_cv_prog_PLOT_PROG" && ac_cv_prog_PLOT_PROG="nothing"
--fi
--fi
--PLOT_PROG="$ac_cv_prog_PLOT_PROG"
--if test -n "$PLOT_PROG"; then
-- echo "$ac_t""$PLOT_PROG" 1>&6
--else
-- echo "$ac_t""no" 1>&6
--fi
--
--fi
--
--
--
- # Check whether --with-pgraf or --without-pgraf was given.
- if test "${with_pgraf+set}" = set; then
- withval="$with_pgraf"
-@@ -4148,41 +4082,6 @@ fi
-
-
-
--if test "$PLOT_PROG" = "pgraf" ; then
-- # Extract the first word of "pgraf", so it can be a program name with args.
--set dummy pgraf; ac_word=$2
--echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--echo "configure:4156: checking for $ac_word" >&5
--if eval "test \"`echo '$''{'ac_cv_prog_PLOT_PROG'+set}'`\" = set"; then
-- echo $ac_n "(cached) $ac_c" 1>&6
--else
-- if test -n "$PLOT_PROG"; then
-- ac_cv_prog_PLOT_PROG="$PLOT_PROG" # Let the user override the test.
--else
-- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
-- ac_dummy="$PATH"
-- for ac_dir in $ac_dummy; do
-- test -z "$ac_dir" && ac_dir=.
-- if test -f $ac_dir/$ac_word; then
-- ac_cv_prog_PLOT_PROG="pgraf"
-- break
-- fi
-- done
-- IFS="$ac_save_ifs"
-- test -z "$ac_cv_prog_PLOT_PROG" && ac_cv_prog_PLOT_PROG="nothing"
--fi
--fi
--PLOT_PROG="$ac_cv_prog_PLOT_PROG"
--if test -n "$PLOT_PROG"; then
-- echo "$ac_t""$PLOT_PROG" 1>&6
--else
-- echo "$ac_t""no" 1>&6
--fi
--
--fi
--
--
--
- # Check whether --with-pgplot or --without-pgplot was given.
- if test "${with_pgplot+set}" = set; then
- withval="$with_pgplot"
-@@ -4209,27 +4108,22 @@ fi
-
-
-
--# Check whether --enable-GC or --disable-GC was given.
--if test "${enable_GC+set}" = set; then
-- enableval="$enable_GC"
-- if test "$enableval" = "yes" ; then
-- cat >> confdefs.h <<\EOF
--#define HAVE_GC 1
--EOF
-- LIBGC="../gc/gc.a";
-- IGC="-I./gc"
-- fi
--else
-+# Check whether --with-GC or --without-GC was given.
-+if test "${with_GC+set}" = set; then
-+ withval="$with_GC"
- cat >> confdefs.h <<\EOF
- #define HAVE_GC 1
- EOF
-- LIBGC="./gc/gc.a";
-- IGC="-I./gc"
-+
-+ LIBGC="-L$withval/lib -lgc"
-+ IGC="-I$withval/include -I./gc"
-+
- fi
-
-
-+
- cat > conftest.$ac_ext <<EOF
--#line 4233 "configure"
-+#line 4127 "configure"
- #include "confdefs.h"
- #include <stdio.h>
- int main() {
-@@ -4526,12 +4421,13 @@ s%@CC@%$CC%g
- s%@CPP@%$CPP%g
- s%@PAGER@%$PAGER%g
- s%@ALLOCA@%$ALLOCA%g
- s%@PLOT_PROG@%$PLOT_PROG%g
- s%@BUILD_DIR@%$BUILD_DIR%g
- s%@SYSTEM@%$SYSTEM%g
- s%@VER@%$VER%g
- s%@F2C@%$F2C%g
- s%@INSTALL@%$INSTALL%g
-+s%@LDLAGS@%$LDLAGS%g
- s%@EXFLAGS@%$EXFLAGS%g
- s%@C_SH_FLAGS@%$C_SH_FLAGS%g
- s%@F_SH_FLAGS@%$F_SH_FLAGS%g
diff --git a/math/rlab/patches/patch-aq b/math/rlab/patches/patch-aq
deleted file mode 100644
index 7e8a27c6050..00000000000
--- a/math/rlab/patches/patch-aq
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-aq,v 1.1 2003/01/28 01:18:22 uebayasi Exp $
-
---- mscf2.c.orig Sun Apr 25 22:48:13 1999
-+++ mscf2.c
-@@ -292,7 +292,7 @@
- #undef _C
- #undef _Z
-
--#include "supermatrix.h"
-+#include <superlu/zsp_defs.h>
-
- #define Matrix SuperMatrix
-
-@@ -488,9 +488,9 @@
- * Setup the SuperLU [A] from [a].
- */
-
-- A.Stype = NC;
-- A.Dtype = _Z;
-- A.Mtype = GE;
-+ A.Stype = SLU_NC;
-+ A.Dtype = SLU_Z;
-+ A.Mtype = SLU_GE;
- A.nrow = n;
- A.ncol = n;
- A.Store = GC_MALLOC(sizeof(NCformat));
-@@ -504,9 +504,9 @@
- * Setup the SuperLU RHS from [x] (a copy of [b]).
- */
-
-- B.Stype = DN;
-- B.Dtype = _Z;
-- B.Mtype = GE;
-+ B.Stype = SLU_DN;
-+ B.Dtype = SLU_Z;
-+ B.Mtype = SLU_GE;
- B.nrow = n;
- B.ncol = MNC (b);
- B.Store = (DNformat *) GC_MALLOC (sizeof(DNformat));
-@@ -646,9 +646,9 @@
- perm_ctmp = (int *) GC_MAIOP(n*sizeof(int));
- perm_r = (int *) GC_MAIOP(n*sizeof(int));
-
-- A.Stype = NC;
-- A.Dtype = _Z;
-- A.Mtype = GE;
-+ A.Stype = SLU_NC;
-+ A.Dtype = SLU_Z;
-+ A.Mtype = SLU_GE;
- A.nrow = n;
- A.ncol = n;
- A.Store = GC_MALLOC(sizeof(NCformat));
diff --git a/math/rlab/patches/patch-ar b/math/rlab/patches/patch-ar
deleted file mode 100644
index ee5809d376d..00000000000
--- a/math/rlab/patches/patch-ar
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-ar,v 1.1 2003/01/28 01:18:22 uebayasi Exp $
-
---- msrf2.c.orig Sun Apr 25 22:48:13 1999
-+++ msrf2.c
-@@ -694,7 +694,7 @@
- #undef _C
- #undef _Z
-
--#include "supermatrix.h"
-+#include <superlu/dsp_defs.h>
-
- #define Matrix SuperMatrix
-
-@@ -886,9 +886,9 @@
- * Setup the SuperLU [A] from [a]
- */
-
-- A.Stype = NC;
-- A.Dtype = _D;
-- A.Mtype = GE;
-+ A.Stype = SLU_NC;
-+ A.Dtype = SLU_D;
-+ A.Mtype = SLU_GE;
- A.nrow = n;
- A.ncol = n;
- A.Store = GC_MALLOC(sizeof(NCformat));
-@@ -902,9 +902,9 @@
- * Setup the SuperLU RHS from [x] (a copy of [b]).
- */
-
-- B.Stype = DN;
-- B.Dtype = _D;
-- B.Mtype = GE;
-+ B.Stype = SLU_DN;
-+ B.Dtype = SLU_D;
-+ B.Mtype = SLU_GE;
- B.nrow = n;
- B.ncol = MNC (b);
- B.Store = (DNformat *) GC_MALLOC (sizeof(DNformat));
-@@ -1162,9 +1162,9 @@
-
- perm_r = (int *) GC_MAIOP(n*sizeof(int));
-
-- A.Stype = NC;
-- A.Dtype = _D;
-- A.Mtype = GE;
-+ A.Stype = SLU_NC;
-+ A.Dtype = SLU_D;
-+ A.Mtype = SLU_GE;
- A.nrow = n;
- A.ncol = n;
- A.Store = GC_MALLOC(sizeof(NCformat));