1 |
xarthisius 10/09/01 15:06:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xcalendar-4.0-r1.ebuild |
5 |
Log: |
6 |
Respect CC,CFLAGS,LDFLAGS. Fixes bug 335520. Thanks to Diego for the report. Fix multilib paths and implicit functions declarations. Add missing dependency on x11-misc/gccmakedep |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 x11-misc/xcalendar/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xcalendar/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xcalendar/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xcalendar/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xcalendar/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 23 Mar 2008 15:17:34 -0000 1.21 |
23 |
+++ ChangeLog 1 Sep 2010 15:06:23 -0000 1.22 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for x11-misc/xcalendar |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalendar/ChangeLog,v 1.21 2008/03/23 15:17:34 coldwind Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalendar/ChangeLog,v 1.22 2010/09/01 15:06:23 xarthisius Exp $ |
30 |
+ |
31 |
+*xcalendar-4.0-r1 (01 Sep 2010) |
32 |
+ |
33 |
+ 01 Sep 2010; Kacper Kowalik <xarthisius@g.o> |
34 |
+ +xcalendar-4.0-r1.ebuild, +files/xcalendar-4.0-implicits.patch: |
35 |
+ Respect CC,CFLAGS,LDFLAGS. Fixes bug 335520. Thanks to Diego for the |
36 |
+ report. Fix multilib paths and implicit functions declarations. Add |
37 |
+ missing dependency on x11-misc/gccmakedep |
38 |
|
39 |
23 Mar 2008; Santiago M. Mola <coldwind@g.o> xcalendar-4.0.ebuild: |
40 |
amd64 stable |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-misc/xcalendar/xcalendar-4.0-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: xcalendar-4.0-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcalendar/xcalendar-4.0-r1.ebuild,v 1.1 2010/09/01 15:06:23 xarthisius Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
|
57 |
inherit eutils multilib |
58 |
|
59 |
DESCRIPTION="A simple interactive calendar program with a notebook capability" |
60 |
HOMEPAGE="http://www.freebsd.org/" |
61 |
SRC_URI="ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/${P}+i18n.tar.gz" |
62 |
|
63 |
SLOT="0" |
64 |
LICENSE="as-is" |
65 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
66 |
IUSE="motif" |
67 |
|
68 |
RDEPEND="x11-libs/libX11 |
69 |
x11-libs/libXmu |
70 |
x11-libs/libXt |
71 |
x11-libs/libXaw |
72 |
x11-libs/libXext" |
73 |
DEPEND="${RDEPEND} |
74 |
x11-misc/imake |
75 |
x11-proto/xproto |
76 |
x11-misc/gccmakedep |
77 |
motif? ( x11-libs/openmotif )" |
78 |
|
79 |
S=${WORKDIR}/${PN} |
80 |
|
81 |
src_prepare() { |
82 |
use motif && epatch "${FILESDIR}"/${P}-motif-gentoo.diff |
83 |
epatch "${FILESDIR}"/${P}-implicits.patch |
84 |
sed -e "s:%%XCALENDAR_LIBDIR%%:/usr/$(get_libdir)/xcalendar:" \ |
85 |
-e "s:/usr/local/X11R5/lib/X11/:/usr/$(get_libdir)/:" \ |
86 |
-i XCalendar.sed || die |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
xmkmf -a |
91 |
emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \ |
92 |
EXTRA_LDOPTIONS="${LDFLAGS}" || die |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
dobin xcalendar || die |
97 |
newman xcalendar.man xcalendar.1 || die |
98 |
|
99 |
dodir /etc/X11/app-defaults |
100 |
insinto /etc/X11/app-defaults |
101 |
newins XCalendar.sed XCalendar || die |
102 |
|
103 |
insinto /usr/$(get_libdir)/xcalendar |
104 |
doins *.xbm *.hlp || die |
105 |
|
106 |
dodoc README || die |
107 |
} |