Added some magic sed to remove unneeded SYSTEM variable from Makefile, fixing bug...
authorMichele Noberasco <s4t4n@gentoo.org>
Tue, 13 Sep 2005 09:53:05 +0000 (09:53 +0000)
committerMichele Noberasco <s4t4n@gentoo.org>
Tue, 13 Sep 2005 09:53:05 +0000 (09:53 +0000)
Package-Manager: portage-2.0.51.22-r2

x11-plugins/wmcalendar/ChangeLog
x11-plugins/wmcalendar/Manifest
x11-plugins/wmcalendar/wmcalendar-0.5.0.ebuild

index 9cc57ca827d43eaa58f33cfd0e3bd115a0e2cfcb..cf510c49fd24138d019479dd8afc0e552f3d0631 100644 (file)
@@ -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.
index 25ddce0acbad69d812c33e5fe980c25e8eb0e706..a3bc60c132099150c1bffb683b62c73433e7b938 100644 (file)
@@ -1,5 +1,5 @@
-MD5 4e7734203da93507a5f86237c5ff69e8 ChangeLog 770
-MD5 3b7b231a7107541baedc6868e1aa02b6 wmcalendar-0.5.0.ebuild 911
+MD5 d9d1b21b2e4c428640f61b0ed03807e8 wmcalendar-0.5.0.ebuild 1054
+MD5 ca3336f0271f5d4ef5d094a6dd3ab6b2 ChangeLog 943
 MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
 MD5 e1445dfb0ac0d0dd189f22956e61de10 files/digest-wmcalendar-0.5.0 67
 MD5 54f3e7d4eb228c47d0712426fff78d15 files/wmcalendar-0.5.0.makefile.patch 980
index d1718cac4b907eb8db5699c606cf9713966930ef..f8b284110bba401b0e4362395a66c84142f03af9 100644 (file)
@@ -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