summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2007-01-22 20:51:20 +0000
committerMatti Bickel <mabi@gentoo.org>2007-01-22 20:51:20 +0000
commit45644ea06f0326c19b51848b13f16da5affc9e62 (patch)
tree93b080d5487a6c7e01054b9e8c223f205f55c909 /mail-filter
parentFix switching to Debian mirrors (bug #163315). (diff)
downloadgentoo-2-45644ea06f0326c19b51848b13f16da5affc9e62.tar.gz
gentoo-2-45644ea06f0326c19b51848b13f16da5affc9e62.tar.bz2
gentoo-2-45644ea06f0326c19b51848b13f16da5affc9e62.zip
Make it compile with lua-5.1.1 (bug #158460)
(Portage version: 2.1.1-r2)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/imapfilter/ChangeLog7
-rw-r--r--mail-filter/imapfilter/imapfilter-1.2.2.ebuild7
2 files changed, 10 insertions, 4 deletions
diff --git a/mail-filter/imapfilter/ChangeLog b/mail-filter/imapfilter/ChangeLog
index f8768b6aa503..aa9760b5e19c 100644
--- a/mail-filter/imapfilter/ChangeLog
+++ b/mail-filter/imapfilter/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-filter/imapfilter
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.16 2006/10/06 15:39:52 exg Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/ChangeLog,v 1.17 2007/01/22 20:51:20 mabi Exp $
+
+ 22 Jan 2007; Matti Bickel <mabi@gentoo.org> imapfilter-1.2.2.ebuild:
+ Make it compile with lua-5.1.1 (bug #158460)
*imapfilter-1.2.2 (06 Oct 2006)
diff --git a/mail-filter/imapfilter/imapfilter-1.2.2.ebuild b/mail-filter/imapfilter/imapfilter-1.2.2.ebuild
index 9ad8ad397e5e..348a1e18ecc6 100644
--- a/mail-filter/imapfilter/imapfilter-1.2.2.ebuild
+++ b/mail-filter/imapfilter/imapfilter-1.2.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-1.2.2.ebuild,v 1.1 2006/10/06 15:39:52 exg Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-1.2.2.ebuild,v 1.2 2007/01/22 20:51:20 mabi Exp $
inherit eutils
@@ -21,6 +21,9 @@ src_unpack() {
unpack ${A}
cd ${WORKDIR}/${P}
epatch ${FILESDIR}/${PN}-1.0.patch || die "epatch failed"
+ has_version ">=dev-lang/lua-5.1.1" &&
+ sed -i Makefile -e 's:\(LIBS = -lm -llua\) -llualib:\1:'
+
}
src_compile() {