summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-13 10:37:01 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-13 10:37:01 +0100
commit68f5f806a26ddee80ee9b50d57d36f44fdd14080 (patch)
tree10c973c5deebc0ab50e42ca037f5a6b60c7967bd /sci-mathematics
parentdev-python/backports-abc: Update license (diff)
downloadgentoo-68f5f806a26ddee80ee9b50d57d36f44fdd14080.tar.gz
gentoo-68f5f806a26ddee80ee9b50d57d36f44fdd14080.tar.bz2
gentoo-68f5f806a26ddee80ee9b50d57d36f44fdd14080.zip
sci-mathematics/sha1-polyml: Make var declaration globally
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=565650 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/sha1-polyml/metadata.xml12
-rw-r--r--sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild6
2 files changed, 9 insertions, 9 deletions
diff --git a/sci-mathematics/sha1-polyml/metadata.xml b/sci-mathematics/sha1-polyml/metadata.xml
index c3a2e907f34c..50a414f56b23 100644
--- a/sci-mathematics/sha1-polyml/metadata.xml
+++ b/sci-mathematics/sha1-polyml/metadata.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>gienah@gentoo.org</email>
- <name>Mark Wright</name>
-</maintainer>
-<herd>sci-mathematics</herd>
-<longdescription lang='en'>
+ <maintainer>
+ <email>gienah@gentoo.org</email>
+ <name>Mark Wright</name>
+ </maintainer>
+ <herd>sci-mathematics</herd>
+ <longdescription lang="en">
sci-mathematics/sha1-polyml is the implementation of SHA1 taken from
the GNU coreutils package as described in the sci-mathematics/sha1-polyml
README. It is required by sci-mathematics/isabelle.
diff --git a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
index a5d68567de68..1aaf42841abb 100644
--- a/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
+++ b/sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
@@ -60,11 +60,11 @@ src_prepare() {
}
src_compile() {
- local arch=$(uname -m)
- local uos=$(uname)
+ arch=$(uname -m)
+ uos=$(uname)
# Switch to ,, when we switch to EAPI=6.
#local los=${uos,,}
- local los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
+ los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
./build "${arch}-${los}" || die "build failed"
}