Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120229 - [mail-mta] Exim 4.60 Ebuild Bug (wrong processing of sqlite flag)
Summary: [mail-mta] Exim 4.60 Ebuild Bug (wrong processing of sqlite flag)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Colin Morey (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 15:11 UTC by Dmitry Zamaruev
Modified: 2006-06-12 12:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
EximSQLite diff (exim_4.60_sqlite.diff,442 bytes, patch)
2006-01-24 15:12 UTC, Dmitry Zamaruev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Zamaruev 2006-01-24 15:11:44 UTC
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 Dmitry Zamaruev 2006-01-24 15:12:55 UTC
Created attachment 78035 [details, diff]
EximSQLite diff
Comment 2 Colin Morey (RETIRED) gentoo-dev 2006-02-23 12:09:07 UTC
This should be fixed in 4.60-r1, going stable shortly.
Comment 3 Colin Morey (RETIRED) gentoo-dev 2006-06-12 12:13:41 UTC
Please re-open if you disagree, but this should be fixed now.