Bug 120229 - [mail-mta] Exim 4.60 Ebuild Bug (wrong processing of sqlite flag)
Bug#: 120229 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P3
Resolution: FIXED Assigned To: peitolm@gentoo.org Reported By: avenger@dmz.org.ua
Component: Ebuilds
URL: 
Summary: [mail-mta] Exim 4.60 Ebuild Bug (wrong processing of sqlite flag)
Keywords:  
Status Whiteboard: 
Opened: 2006-01-24 15:11 0000
Description:   Opened: 2006-01-24 15:11 0000
mail-mta/exim-4.60.ebuild make use of 'sqlite' flag. But src_unpack() function
incorrectly process it (changes commented value to commented value) on line
175:
sed -i "s:# LOOKUP_SQLITE=yes:# LOOKUP_SQLITE=yes:" Local/Makefile

Here is fix diff:
--- exim-4.60.ebuild.orig       2006-01-25 00:58:17.000000000 +0200
+++ exim-4.60.ebuild    2006-01-25 00:58:41.000000000 +0200
@@ -172,7 +172,7 @@
                LOOKUP_LIBS="$LOOKUP_LIBS -lpq"
        fi
        if use sqlite; then
-               sed -i "s:# LOOKUP_SQLITE=yes:# LOOKUP_SQLITE=yes:"
Local/Makefile
+               sed -i "s:# LOOKUP_SQLITE=yes:LOOKUP_SQLITE=yes:"
Local/Makefile                LOOKUP_INCLUDE="$LOOKUP_INCLUDE
-I/usr/include/sqlite"
                LOOKUP_LIBS="$LOOKUP_LIBS -lsqlite3"
        fi

------- Comment #1 From Dmitry Zamaruev 2006-01-24 15:12:55 0000 -------
Created an attachment (id=78035) [details]
EximSQLite diff

------- Comment #2 From Colin Morey 2006-02-23 12:09:07 0000 -------
This should be fixed in 4.60-r1, going stable shortly.

------- Comment #3 From Colin Morey 2006-06-12 12:13:41 0000 -------
Please re-open if you disagree, but this should be fixed now.