seems to work on amd64. please give it a try on some other archs. Index: Makefile =================================================================== RCS file: /cvs/ports/math/octave/Makefile,v retrieving revision 1.38 diff -u -r1.38 Makefile --- Makefile 1 Oct 2008 05:16:07 -0000 1.38 +++ Makefile 1 Oct 2008 21:47:41 -0000 @@ -6,9 +6,9 @@ COMMENT= high-level language for numerical computations -VERSION= 3.0.1 +VERSION= 3.0.2 DISTNAME= octave-${VERSION} -PKGNAME= ${DISTNAME}p2 +PKGNAME= ${DISTNAME} CATEGORIES= math SHARED_LIBS= cruft 5.0 \ Index: distinfo =================================================================== RCS file: /cvs/ports/math/octave/distinfo,v retrieving revision 1.10 diff -u -r1.10 distinfo --- distinfo 25 Apr 2008 18:26:29 -0000 1.10 +++ distinfo 1 Oct 2008 21:47:41 -0000 @@ -1,5 +1,5 @@ -MD5 (octave-3.0.1.tar.gz) = O8DctU53IuiFv5LnyZ5IPg== -RMD160 (octave-3.0.1.tar.gz) = 2zSGusun8fcGXR/s4k//TxGG3eg= -SHA1 (octave-3.0.1.tar.gz) = 30i8Ku3rEqg3ac8JTFsPacC06+8= -SHA256 (octave-3.0.1.tar.gz) = K3/WQD08OsgoT+NQB5tdqF7voLb4XhpdbmtOBWhZxqA= -SIZE (octave-3.0.1.tar.gz) = 11246708 +MD5 (octave-3.0.2.tar.gz) = eR4ZzJo28sBGs5qwV0MG2A== +RMD160 (octave-3.0.2.tar.gz) = OKEPY4BHi2bxf+7wW1VGbbz5iMk= +SHA1 (octave-3.0.2.tar.gz) = kjbBHgPdF3qDedaX4bKamISzKo8= +SHA256 (octave-3.0.2.tar.gz) = 9FufB2GU7UmLsh3mHKoii4LNcoiPAsR0Dquiy0prGdk= +SIZE (octave-3.0.2.tar.gz) = 11717177 Index: patches/patch-octMakefile_in =================================================================== RCS file: /cvs/ports/math/octave/patches/patch-octMakefile_in,v retrieving revision 1.4 diff -u -r1.4 patch-octMakefile_in --- patches/patch-octMakefile_in 21 Jan 2008 18:30:13 -0000 1.4 +++ patches/patch-octMakefile_in 1 Oct 2008 21:47:41 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-octMakefile_in,v 1.4 2008/01/21 18:30:13 steven Exp $ ---- octMakefile.in.orig Thu Dec 13 22:35:36 2007 -+++ octMakefile.in Sat Dec 29 17:13:51 2007 -@@ -120,15 +120,12 @@ BUGS INSTALL.OCTAVE: +--- octMakefile.in.orig Fri Aug 1 08:50:56 2008 ++++ octMakefile.in Wed Oct 1 22:13:29 2008 +@@ -121,15 +121,12 @@ BUGS INSTALL.OCTAVE: install install-strip :: $(top_srcdir)/mkinstalldirs $(addprefix $(DESTDIR), $(DIRS_TO_MAKE)) rm -f $(DESTDIR)$(bindir)/octave-bug Index: patches/patch-run-octave_in =================================================================== RCS file: /cvs/ports/math/octave/patches/patch-run-octave_in,v retrieving revision 1.2 diff -u -r1.2 patch-run-octave_in --- patches/patch-run-octave_in 21 Jan 2008 18:30:13 -0000 1.2 +++ patches/patch-run-octave_in 1 Oct 2008 21:47:41 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-run-octave_in,v 1.2 2008/01/21 18:30:13 steven Exp $ ---- run-octave.in.orig Tue Dec 4 03:27:27 2007 -+++ run-octave.in Sat Dec 29 17:22:51 2007 -@@ -66,7 +66,6 @@ if [ $# -gt 0 ]; then +--- run-octave.in.orig Tue Aug 5 09:48:21 2008 ++++ run-octave.in Wed Oct 1 22:13:29 2008 +@@ -67,7 +67,6 @@ if [ $# -gt 0 ]; then fi OCTAVE_SITE_INITFILE="$top_srcdir/scripts/startup/main-rcfile" \ Index: patches/patch-scripts_pkg_pkg_m =================================================================== RCS file: /cvs/ports/math/octave/patches/patch-scripts_pkg_pkg_m,v retrieving revision 1.3 diff -u -r1.3 patch-scripts_pkg_pkg_m --- patches/patch-scripts_pkg_pkg_m 25 Apr 2008 18:26:29 -0000 1.3 +++ patches/patch-scripts_pkg_pkg_m 1 Oct 2008 21:47:41 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-scripts_pkg_pkg_m,v 1.3 2008/04/25 18:26:29 steven Exp $ ---- scripts/pkg/pkg.m.orig Mon Apr 21 18:00:20 2008 -+++ scripts/pkg/pkg.m Thu Apr 24 22:50:01 2008 -@@ -1239,7 +1239,7 @@ function configure_make (desc, packdir, verbose) +--- scripts/pkg/pkg.m.orig Fri Aug 1 08:50:56 2008 ++++ scripts/pkg/pkg.m Wed Oct 1 22:13:29 2008 +@@ -1242,7 +1242,7 @@ function configure_make (desc, packdir, verbose) ## make if (exist (fullfile (src, "Makefile"), "file")) [status, output] = shell (strcat ("export INSTALLDIR=\"", desc.dir, Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/math/octave/pkg/PLIST,v retrieving revision 1.13 diff -u -r1.13 PLIST --- pkg/PLIST 26 Apr 2008 06:51:29 -0000 1.13 +++ pkg/PLIST 1 Oct 2008 21:47:45 -0000 @@ -1,7 +1,7 @@ @comment $OpenBSD: PLIST,v 1.13 2008/04/26 06:51:29 steven Exp $ %%SHARED%% bin/mkoctfile -bin/octave [EMAIL PROTECTED] bin/octave bin/octave-bug bin/octave-config include/octave-${VERSION}/ @@ -692,10 +692,20 @@ libexec/octave/${VERSION}/site/ libexec/octave/${VERSION}/site/exec/ libexec/octave/${VERSION}/site/exec/${GNU_ARCH}/ +libexec/octave/${VERSION}/site/oct/ +libexec/octave/${VERSION}/site/oct/${GNU_ARCH}/ +libexec/octave/api-v32/ +libexec/octave/api-v32/site/ +libexec/octave/api-v32/site/exec/ +libexec/octave/api-v32/site/exec/${GNU_ARCH}/ libexec/octave/ls-R libexec/octave/site/ libexec/octave/site/exec/ libexec/octave/site/exec/${GNU_ARCH}/ +libexec/octave/site/oct/ +libexec/octave/site/oct/api-v32/ +libexec/octave/site/oct/api-v32/${GNU_ARCH}/ +libexec/octave/site/oct/${GNU_ARCH}/ @man man/man1/mkoctfile.1 @man man/man1/octave-bug.1 @man man/man1/octave-config.1 @@ -3296,8 +3306,12 @@ share/octave/${VERSION}/m/time/is_leap_year.m share/octave/${VERSION}/m/time/now.m share/octave/${VERSION}/m/time/weekday.m +share/octave/${VERSION}/site/ +share/octave/${VERSION}/site/m/ share/octave/ls-R share/octave/site/ +share/octave/site/api-v32/ +share/octave/site/api-v32/m/ share/octave/site/m/ share/octave/site/m/startup/ share/octave/site/m/startup/octaverc