summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-29 07:25:46 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-29 07:25:46 +0000
commit4d916e74a29b8f26e443f74e861db235f15ddbf9 (patch)
tree0b63dfd6a1c51beb9d4527f77d94f4291b90305d /x11-libs
parentMaking test compile. Bug #211773 (diff)
downloadhistorical-4d916e74a29b8f26e443f74e861db235f15ddbf9.tar.gz
historical-4d916e74a29b8f26e443f74e861db235f15ddbf9.tar.bz2
historical-4d916e74a29b8f26e443f74e861db235f15ddbf9.zip
Remove redundant for loop.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/openmotif/Manifest10
-rw-r--r--x11-libs/openmotif/files/motif-config-2.354
2 files changed, 20 insertions, 44 deletions
diff --git a/x11-libs/openmotif/Manifest b/x11-libs/openmotif/Manifest
index b406c078f3ee..5db0eb1e07d8 100644
--- a/x11-libs/openmotif/Manifest
+++ b/x11-libs/openmotif/Manifest
@@ -2,7 +2,7 @@
Hash: SHA1
AUX Mwm.defaults 536 RMD160 99fc40c2e923b53a14b2911c37064f2c9cd3f63b SHA1 ddbe7ab7af3a8caf6ccb9d6ab2c721ce5940edd1 SHA256 5373d8c7bd5460ce83bda99f08725fe9154cd4b5ca2b0698e5a0fda10e50f250
-AUX motif-config-2.3 1379 RMD160 2b68b33af46f20289184bdcd2656c2f48e225d21 SHA1 127403cbbc94e410b71c35487bb3944bc78f13f1 SHA256 61134468b019e7204903ca00ea702b8a4d202fd73babdad89c8b4460a745190f
+AUX motif-config-2.3 1338 RMD160 b1fc776bc37731778692374a49413f3171851559 SHA1 a7a3d0550950586c91d2618db51b4dca6d4c353d SHA256 9aadce32dde1f38308cfb8f4c68b09675fd8513974042230b41f1fae06aad01c
AUX openmotif-2.3.0-sensitivity-invisible.patch 7202 RMD160 255895bc7fa43079259de0e0e01262e83dca79f1 SHA1 41732e6c09229dbf8b681b37770a9c46621de84c SHA256 394863dd8b3adb67df78593a78cd04ec6eb7ddda3b70d27fd63f550341de07b9
DIST openMotif-2.2.3.tar.gz 5149785 RMD160 b99230d508da57bca72b6920d28fce4187bf5179 SHA1 c463653d9f8e24b35522c3ba6363ddf7a282eab4 SHA256 12fc0d1de53ff30307603e31826db9b63a442f6f743451aed2cb7cedb038d3d9
DIST openmotif-2.2.3-patches-1.tar.bz2 19960 RMD160 735931640dfb1d45f331e1015dce2886022c82c0 SHA1 f10752647af3ae3e1fc81b052b836c9db5df22e0 SHA256 9da77097b9960edf763d2b94948739acfecdd41e6959afeeef3799b0872c19d1
@@ -14,9 +14,9 @@ EBUILD openmotif-2.3.0.ebuild 3215 RMD160 897d14313b0ad956bc1c549a962723ebe32649
MISC ChangeLog 25398 RMD160 3b0ab7474be440e5f88acec85e43306b0dc87e21 SHA1 ec8c06b3b5ec4eec2c9a8f6ef57f8db543f817d1 SHA256 1068b50e7f5db84e003993c4a6fb4187d44caaf40889d2bdd9f078cf70ca6caf
MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v1.4.8 (GNU/Linux)
-iD8DBQFHxy5LkKaRLQcq0GIRAvM1AJ47ZikmFrPbg3+syvrdXU6c+H0YHQCdE5U1
-6GHYERLrtlSmljhD9yROmAg=
-=8rsq
+iEYEARECAAYFAkfHsykACgkQOeoy/oIi7uwNiQCgugO16b/BT4Rura+F5J/MaZ86
+tdwAn3KI7n/pHaxWUSr1J8RCbcuJ76Ur
+=w2V2
-----END PGP SIGNATURE-----
diff --git a/x11-libs/openmotif/files/motif-config-2.3 b/x11-libs/openmotif/files/motif-config-2.3
index 12531ec0559e..5481c6a75475 100644
--- a/x11-libs/openmotif/files/motif-config-2.3
+++ b/x11-libs/openmotif/files/motif-config-2.3
@@ -21,9 +21,6 @@ USAGE_END
exit $1
}
-[[ $# -lt 1 ]] && usage 1
-[[ $# -gt 2 ]] && usage 1
-
get_lib_path() {
echo "/usr/@@LIBDIR@@/"
exit 0
@@ -34,46 +31,25 @@ get_inc_path() {
exit 0
}
-get_cflags() {
- echo "-I/usr/include/"
- exit 0
-}
-
get_libs() {
echo "-L/usr/@@LIBDIR@@/"
exit 0
}
-for x in "$@"; do
- case "${x}" in
- -L|--get-lib-path)
- get_lib_path $2
- ;;
-
- -I|--get-inc-path)
- get_inc_path $2
- ;;
-
- --cflags)
- get_cflags $2
- ;;
-
- --libs)
- get_libs $2
- ;;
-
- -h|--help)
- usage 0
- ;;
-
- -v|--version)
- echo "motif-config-2.3"
- exit 0
- ;;
+get_cflags() {
+ echo "-I/usr/include/"
+ exit 0
+}
- *)
- usage 1
- ;;
+[[ $# -lt 1 ]] && usage 1
+[[ $# -gt 2 ]] && usage 1
- esac
-done
+case "$1" in
+ -L|--get-lib-path) get_lib_path ;;
+ -I|--get-inc-path) get_inc_path ;;
+ --libs) get_libs ;;
+ --cflags) get_cflags ;;
+ -h|--help) usage 0 ;;
+ -v|--version) echo "motif-config-2.3"; exit 0 ;;
+ *) usage 1 ;;
+esac