Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/openmotif/files: motif-config-2.3
Date: Wed, 27 Feb 2008 07:29:47
Message-Id: E1JUGjX-0007gf-RY@stork.gentoo.org
1 ulm 08/02/27 07:29:43
2
3 Modified: motif-config-2.3
4 Log:
5 Remove redundant tests.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.2 x11-libs/openmotif/files/motif-config-2.3
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/motif-config-2.3?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/motif-config-2.3?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/files/motif-config-2.3?r1=1.1&r2=1.2
14
15 Index: motif-config-2.3
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-libs/openmotif/files/motif-config-2.3,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- motif-config-2.3 14 Feb 2008 10:09:57 -0000 1.1
22 +++ motif-config-2.3 27 Feb 2008 07:29:43 -0000 1.2
23 @@ -13,18 +13,14 @@
24 Usage: motif-config [option]
25
26 Options:
27 -
28 -L, --get-lib-path Print path where openmotif libraries are located.
29 -
30 -I, --get-inc-path Print path where openmotif includes are located.
31 -
32 --libs Print link flags for openmotif
33 -
34 --cflags Print compilation flags for openmotif
35 -
36 USAGE_END
37 exit $1
38 }
39 +
40 [[ $# -lt 1 ]] && usage 1
41 [[ $# -gt 2 ]] && usage 1
42
43 @@ -51,22 +47,18 @@
44 for x in "$@"; do
45 case "${x}" in
46 -L|--get-lib-path)
47 - [[ $# -gt 2 ]] && usage 1
48 get_lib_path $2
49 ;;
50
51 -I|--get-inc-path)
52 - [[ $# -gt 2 ]] && usage 1
53 get_inc_path $2
54 ;;
55
56 --cflags)
57 - [[ $# -gt 2 ]] && usage 1
58 get_cflags $2
59 ;;
60
61 --libs)
62 - [[ $# -gt 2 ]] && usage 1
63 get_libs $2
64 ;;
65
66 @@ -79,10 +71,6 @@
67 exit 0
68 ;;
69
70 - -*)
71 - usage 1
72 - ;;
73 -
74 *)
75 usage 1
76 ;;
77
78
79
80 --
81 gentoo-commits@l.g.o mailing list