Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141018 Details for
Bug 179885
[TRACKER] new split octave-forge ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to octave-forge.eclass file in science overlay
science-octave-forge.diff (text/plain), 2.04 KB, created by
Roman Stanchak
on 2008-01-16 03:10:37 UTC
(
hide
)
Description:
patch to octave-forge.eclass file in science overlay
Filename:
MIME Type:
Creator:
Roman Stanchak
Created:
2008-01-16 03:10:37 UTC
Size:
2.04 KB
patch
obsolete
>Index: science/eclass/octave-forge.eclass >=================================================================== >--- science/eclass/octave-forge.eclass (revision 908) >+++ science/eclass/octave-forge.eclass (working copy) >@@ -114,7 +114,7 @@ > echo "new_package = struct();" >> "${OCT_TMP}" > > # add archprefix; needed for >=octave-2.9.15 >- local libexec_dir="$(octave-config -p LIBEXECDIR)/octave/packages" >+ local libexec_dir="$(octave-config -p LIBEXECDIR)/octave/packages/${OCT_PKG}" > > echo "new_package.archprefix = \"${libexec_dir}\";" \ > >> "${OCT_TMP}" >@@ -125,6 +125,9 @@ > echo "temp = struct(\"operator\",\"${operator}\",\"package\",\"${pkg_name}\",\"version\",\"${version}\");" >> "${OCT_TMP}" > echo "foo = {temp};" >> "${OCT_TMP}" > echo "new_package.depends = foo;" >> "${OCT_TMP}" >+ elif [[ ${keys[count]} == "name" ]]; then >+ # make name lower case >+ echo "new_package.name = lower(\"${values[count]}\");" >> "${OCT_TMP}" > else > echo "new_package.${keys[count]} = \"${values[count]}\";" >> "${OCT_TMP}" > fi >@@ -177,7 +180,7 @@ > old_packages = load ("${OCT_DATABASE}").global_packages; > global_packages = {}; > for i=1:length(old_packages); >-if ( !strcmp(old_packages{i}.name,"${remove_name}")); >+if ( !strcmpi(old_packages{i}.name,"${remove_name}")); > global_packages = {global_packages{:}, old_packages{i}}; endif; endfor; > save ("${OCT_DATABASE}","global_packages"); > EOF >@@ -258,7 +261,8 @@ > > # install mex/oct files if present > if [[ -n "${oct_files}" || -n "${mex_files}" ]]; then >- insinto "${OCT_INSTALL_PKG}/${octave_arch}" >+ local libexec_dir="$(octave-config -p LIBEXECDIR)/octave/packages" >+ insinto "${libexec_dir}/${OCT_PKG}/${octave_arch}" > if [[ -n "${oct_files}" ]]; then > doins src/*.oct \ > || die "failed to install oct files" >@@ -272,6 +276,7 @@ > # include PKG_ADD and PKG_DEL > # TODO: need to scan included *.m *.cc files for > # additional PKG_ADD/PKG_DEL commands for appending >+ insinto "${OCT_INSTALL_PKG}" > if [[ -e "${S}/PKG_ADD" ]]; then > doins "${S}/PKG_ADD" \ > || die "failed to install PKG_ADD"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179885
:
125794
|
125795
|
125929
|
125930
|
125932
|
128959
|
134350
| 141018 |
173825
|
174229
|
174231
|
204875
|
204876