Added missing patch
authorOlivier Fisette <ribosome@gentoo.org>
Fri, 21 Oct 2005 14:06:03 +0000 (14:06 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Fri, 21 Oct 2005 14:06:03 +0000 (14:06 +0000)
Package-Manager: portage-2.0.51.22-r3

sci-misc/h5utils/Manifest
sci-misc/h5utils/files/1.10-octave-path.patch [new file with mode: 0644]

index b110f3e9e0f3367e6b3dec3ef47f6fab5eda46a8..55d68dc31773a6752a237b6aa8e8242e4dfec5b8 100644 (file)
@@ -2,5 +2,6 @@ MD5 0372a1cb73c9675b336ec76f4475f71d h5utils-1.10.ebuild 772
 MD5 fea64ac9ca882d2653c1676b54f23a79 h5utils-1.7.2.ebuild 630
 MD5 a9ad0659206979575af8aa6fe6be657d ChangeLog 1589
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 09260eb6173897b269f89fe9f0770936 files/1.10-octave-path.patch 619
 MD5 19a6aeba061c7f0ae3ebdeb37e58914d files/digest-h5utils-1.10 64
 MD5 68582ef0ca181f569ea15f38c3a8eda7 files/digest-h5utils-1.7.2 65
diff --git a/sci-misc/h5utils/files/1.10-octave-path.patch b/sci-misc/h5utils/files/1.10-octave-path.patch
new file mode 100644 (file)
index 0000000..3070835
--- /dev/null
@@ -0,0 +1,13 @@
+--- h5utils-1.10/configure.ac.orig     2005-09-03 04:36:33.000000000 +0700
++++ h5utils-1.10/configure.ac  2005-10-20 13:56:02.000000000 +0700
+@@ -131,8 +131,9 @@
+ else
+       # try to find installation directory
+       AC_CHECK_PROGS(OCTAVE, octave, echo)
++      AC_CHECK_PROGS(OCTAVE_CONFIG, octave-config, echo)
+       AC_MSG_CHECKING(where octave plugins go)
+-      OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
++      OCT_INSTALL_DIR=`${OCTAVE_CONFIG} --oct-site-dir | sed -e "s:${prefix}:\\\${prefix}:"`
+       if test -n "$OCT_INSTALL_DIR"; then
+               AC_MSG_RESULT($OCT_INSTALL_DIR)
+               H5READ=h5read.oct