summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2005-09-13 09:53:05 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2005-09-13 09:53:05 +0000
commit930d899d275a12d6e5e951403712ffd33dc91e49 (patch)
tree33bd956ace2351793ced209fa9aa217872b29ee5 /x11-plugins/wmcalendar
parentinherit goes before setting DESCRIPTION. (diff)
downloadgentoo-2-930d899d275a12d6e5e951403712ffd33dc91e49.tar.gz
gentoo-2-930d899d275a12d6e5e951403712ffd33dc91e49.tar.bz2
gentoo-2-930d899d275a12d6e5e951403712ffd33dc91e49.zip
Added some magic sed to remove unneeded SYSTEM variable from Makefile, fixing bug #105730.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-plugins/wmcalendar')
-rw-r--r--x11-plugins/wmcalendar/ChangeLog8
-rw-r--r--x11-plugins/wmcalendar/Manifest2
-rw-r--r--x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild24
3 files changed, 23 insertions, 11 deletions
diff --git a/x11-plugins/wmcalendar/ChangeLog b/x11-plugins/wmcalendar/ChangeLog
index 9cc57ca827d4..cf510c49fd24 100644
--- a/x11-plugins/wmcalendar/ChangeLog
+++ b/x11-plugins/wmcalendar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmcalendar
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/ChangeLog,v 1.6 2004/11/24 05:17:43 weeve Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/ChangeLog,v 1.7 2005/09/13 09:53:05 s4t4n Exp $
+
+ 13 Sep 2005; Michele Noberasco <s4t4n@gentoo.org> wmcalendar-0.5.0.ebuild:
+ Added some magic sed to remove unneeded SYSTEM variable from Makefile,
+ fixing bug #105730.
23 Nov 2004; Jason Wever <weeve@gentoo.org> wmcalendar-0.5.0.ebuild:
Added ~sparc keyword.
diff --git a/x11-plugins/wmcalendar/Manifest b/x11-plugins/wmcalendar/Manifest
index 25ddce0acbad..8bfca78d46fb 100644
--- a/x11-plugins/wmcalendar/Manifest
+++ b/x11-plugins/wmcalendar/Manifest
@@ -1,5 +1,5 @@
+MD5 4517fb311b59ed5e89e5f90b17947760 wmcalendar-0.5.0.ebuild 1054
MD5 4e7734203da93507a5f86237c5ff69e8 ChangeLog 770
-MD5 3b7b231a7107541baedc6868e1aa02b6 wmcalendar-0.5.0.ebuild 911
MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
MD5 e1445dfb0ac0d0dd189f22956e61de10 files/digest-wmcalendar-0.5.0 67
MD5 54f3e7d4eb228c47d0712426fff78d15 files/wmcalendar-0.5.0.makefile.patch 980
diff --git a/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild b/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild
index d1718cac4b90..f8b284110bba 100644
--- a/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild
+++ b/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild,v 1.5 2004/11/24 05:17:43 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild,v 1.6 2005/09/13 09:53:05 s4t4n Exp $
inherit eutils
@@ -18,18 +18,26 @@ KEYWORDS="x86 ppc ~sparc"
DEPEND="virtual/x11
>=dev-libs/libical-0.24_rc4
>=dev-util/pkgconfig-0.15.0
- >=x11-libs/gtk+-2.2.1-r1"
+ >=x11-libs/gtk+-2.2.1-r1
+ >=sys-apps/sed-4.0.9"
-# default Makefile overwrites CC and CFAGS variables so we patch it
-src_unpack() {
+S=${WORKDIR}/${P}/Src
+
+src_unpack()
+{
unpack ${A}
cd ${WORKDIR}
+
+ # default Makefile overwrites CC and CFLAGS variables so we patch it
epatch ${FILESDIR}/${P}.makefile.patch
-}
-S=${WORKDIR}/${P}/Src
+ # remove unneeded SYSTEM variable from Makefile, fixing bug #105730
+ cd ${S}
+ sed -i -e "s:\$(SYSTEM)::" Makefile
+}
-src_install() {
+src_install()
+{
dodir /usr/bin /usr/man/man1
make DESTDIR=${D}/usr install || die
cd .. && dodoc BUGS CHANGES COPYING HINTS INSTALL README TODO || die