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: openmotif-2.3.0-r1.ebuild
Date: Tue, 19 Feb 2008 07:11:38
Message-Id: E1JRMdb-0004cm-Sx@stork.gentoo.org
1 ulm 08/02/19 07:11:35
2
3 Modified: openmotif-2.3.0-r1.ebuild
4 Log:
5 Simplify pkg_setup.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.6 x11-libs/openmotif/openmotif-2.3.0-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild?r1=1.5&r2=1.6
14
15 Index: openmotif-2.3.0-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- openmotif-2.3.0-r1.ebuild 17 Feb 2008 11:44:27 -0000 1.5
22 +++ openmotif-2.3.0-r1.ebuild 19 Feb 2008 07:11:35 -0000 1.6
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild,v 1.5 2008/02/17 11:44:27 ulm Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0-r1.ebuild,v 1.6 2008/02/19 07:11:35 ulm Exp $
28
29 inherit eutils flag-o-matic multilib autotools
30
31 @@ -34,21 +34,9 @@
32 pkg_setup() {
33 # clean up orphaned cruft left over by motif-config
34 local i count=0
35 - local stalesyms="usr/bin/mwm \
36 - usr/bin/uil \
37 - usr/bin/xmbind \
38 - usr/include/Xm \
39 - usr/include/uil \
40 - usr/include/Mrm"
41 -
42 - for i in ${stalesyms} ; do
43 - if [[ -L "${ROOT}"${i} ]] ; then
44 - einfo "Cleaning up orphaned ${ROOT}${i} symlink ..."
45 - rm -f "${ROOT}"${i}
46 - fi
47 - done
48 -
49 - for i in "${ROOT}"usr/$(get_libdir)/lib{Xm,Uil,Mrm}.*; do
50 + for i in "${ROOT}"usr/bin/{mwm,uil,xmbind} \
51 + "${ROOT}"usr/include/{Xm,uil,Mrm} \
52 + "${ROOT}"usr/$(get_libdir)/lib{Xm,Uil,Mrm}.*; do
53 if [[ -L "${i}" && $(readlink "${i}") =~ (openmo|less)tif- ]]; then
54 einfo "Cleaning up orphaned ${i} symlink ..."
55 rm -f "${i}"
56
57
58
59 --
60 gentoo-commits@l.g.o mailing list