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: ChangeLog openmotif-2.2.3-r11.ebuild
Date: Thu, 02 Dec 2010 13:37:19
Message-Id: 20101202133709.0E35120054@flycatcher.gentoo.org
1 ulm 10/12/02 13:37:09
2
3 Modified: ChangeLog
4 Added: openmotif-2.2.3-r11.ebuild
5 Log:
6 Update automake dependency. Change EAPI to 3.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.254 x11-libs/openmotif/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif/ChangeLog?rev=1.254&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif/ChangeLog?rev=1.254&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif/ChangeLog?r1=1.253&r2=1.254
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v
20 retrieving revision 1.253
21 retrieving revision 1.254
22 diff -u -r1.253 -r1.254
23 --- ChangeLog 8 Nov 2010 13:27:45 -0000 1.253
24 +++ ChangeLog 2 Dec 2010 13:37:08 -0000 1.254
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-libs/openmotif
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.253 2010/11/08 13:27:45 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.254 2010/12/02 13:37:08 ulm Exp $
30 +
31 +*openmotif-2.2.3-r11 (02 Dec 2010)
32 +
33 + 02 Dec 2010; Ulrich Mueller <ulm@g.o> +openmotif-2.2.3-r11.ebuild:
34 + Update automake dependency. Change EAPI to 3.
35
36 08 Nov 2010; Ulrich Mueller <ulm@g.o> openmotif-2.3.2-r2.ebuild:
37 Depend on virtual/jpeg wrt bug 327487.
38
39
40
41 1.1 x11-libs/openmotif/openmotif-2.2.3-r11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif/openmotif-2.2.3-r11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/openmotif/openmotif-2.2.3-r11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: openmotif-2.2.3-r11.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.2.3-r11.ebuild,v 1.1 2010/12/02 13:37:08 ulm Exp $
51
52 EAPI=3
53
54 inherit eutils flag-o-matic multilib autotools
55
56 MY_P=openMotif-${PV}
57 DESCRIPTION="Legacy Open Motif libraries for old binaries"
58 HOMEPAGE="http://www.motifzone.net/"
59 SRC_URI="ftp://ftp.ics.com/openmotif/2.2/${PV}/src/${MY_P}.tar.gz
60 mirror://gentoo/${P}-patches-4.tar.bz2"
61
62 LICENSE="MOTIF MIT"
63 SLOT="2.2"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND="!x11-libs/motif-config
68 !x11-libs/lesstif
69 x11-libs/libXmu
70 x11-libs/libXp"
71
72 DEPEND="${RDEPEND}
73 x11-libs/libXaw
74 x11-misc/xbitmaps"
75
76 S=${WORKDIR}/${MY_P}
77
78 src_prepare() {
79 EPATCH_SUFFIX=patch epatch
80
81 # This replaces deprecated, obsoleted and now invalid AC_DEFINE
82 # with their proper alternatives.
83 sed -i -e 's:AC_DEFINE(\([^)]*\)):AC_DEFINE(\1, [], [\1]):g' \
84 configure.in acinclude.m4
85
86 # Build only the libraries
87 sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= lib clients/;}' Makefile.am
88 sed -i -e '/^SUBDIRS/{:x;/\\$/{N;bx;};s/=.*/= uil/;}' clients/Makefile.am
89
90 eautoreconf
91 }
92
93 src_configure() {
94 # get around some LANG problems in make (#15119)
95 unset LANG
96
97 # bug #80421
98 filter-flags -ftracer
99
100 # multilib includes don't work right in this package...
101 has_multilib_profile && append-flags "-I$(get_ml_incdir)"
102
103 # feel free to fix properly if you care
104 append-flags -fno-strict-aliasing
105
106 econf --with-x
107 }
108
109 src_compile() {
110 emake -j1 || die "emake failed"
111 }
112
113 src_install() {
114 emake -j1 DESTDIR="${D}" install-exec || die "emake install failed"
115
116 # cleanups
117 rm -Rf "${D}"/usr/bin
118 rm -f "${D}"/usr/$(get_libdir)/*.{so,la,a}
119
120 dodoc README RELEASE RELNOTES BUGREPORT TODO
121 }