<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>120229</bug_id>
          
          <creation_ts>2006-01-24 15:11 0000</creation_ts>
          <short_desc>[mail-mta] Exim 4.60 Ebuild Bug (wrong processing of sqlite flag)</short_desc>
          <delta_ts>2006-06-12 12:13:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>avenger@dmz.org.ua</reporter>
          <assigned_to>peitolm@gentoo.org</assigned_to>
          <cc>peitolm@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>avenger@dmz.org.ua</who>
            <bug_when>2006-01-24 15:11:44 0000</bug_when>
            <thetext>mail-mta/exim-4.60.ebuild make use of &apos;sqlite&apos; flag. But src_unpack() function incorrectly process it (changes commented value to commented value) on line 175:
sed -i &quot;s:# LOOKUP_SQLITE=yes:# LOOKUP_SQLITE=yes:&quot; 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=&quot;$LOOKUP_LIBS -lpq&quot;
        fi
        if use sqlite; then
-               sed -i &quot;s:# LOOKUP_SQLITE=yes:# LOOKUP_SQLITE=yes:&quot; Local/Makefile
+               sed -i &quot;s:# LOOKUP_SQLITE=yes:LOOKUP_SQLITE=yes:&quot; Local/Makefile                LOOKUP_INCLUDE=&quot;$LOOKUP_INCLUDE -I/usr/include/sqlite&quot;
                LOOKUP_LIBS=&quot;$LOOKUP_LIBS -lsqlite3&quot;
        fi</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avenger@dmz.org.ua</who>
            <bug_when>2006-01-24 15:12:55 0000</bug_when>
            <thetext>Created an attachment (id=78035)
EximSQLite diff

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2006-02-23 12:09:07 0000</bug_when>
            <thetext>This should be fixed in 4.60-r1, going stable shortly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>peitolm@gentoo.org</who>
            <bug_when>2006-06-12 12:13:41 0000</bug_when>
            <thetext>Please re-open if you disagree, but this should be fixed now.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>78035</attachid>
            <date>2006-01-24 15:12 0000</date>
            <desc>EximSQLite diff</desc>
            <filename>exim_4.60_sqlite.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGV4aW0tNC42MC5lYnVpbGQub3JpZwkyMDA2LTAxLTI1IDAwOjU4OjE3LjAwMDAwMDAwMCAr
MDIwMAorKysgZXhpbS00LjYwLmVidWlsZAkyMDA2LTAxLTI1IDAwOjU4OjQxLjAwMDAwMDAwMCAr
MDIwMApAQCAtMTcyLDcgKzE3Miw3IEBACiAJCUxPT0tVUF9MSUJTPSIkTE9PS1VQX0xJQlMgLWxw
cSIKIAlmaQogCWlmIHVzZSBzcWxpdGU7IHRoZW4KLQkJc2VkIC1pICJzOiMgTE9PS1VQX1NRTElU
RT15ZXM6IyBMT09LVVBfU1FMSVRFPXllczoiIExvY2FsL01ha2VmaWxlCisJCXNlZCAtaSAiczoj
IExPT0tVUF9TUUxJVEU9eWVzOkxPT0tVUF9TUUxJVEU9eWVzOiIgTG9jYWwvTWFrZWZpbGUKIAkJ
TE9PS1VQX0lOQ0xVREU9IiRMT09LVVBfSU5DTFVERSAtSS91c3IvaW5jbHVkZS9zcWxpdGUiCiAJ
CUxPT0tVUF9MSUJTPSIkTE9PS1VQX0xJQlMgLWxzcWxpdGUzIgogCWZpCg==
</data>        

          </attachment>
    </bug>

</bugzilla>