summaryrefslogtreecommitdiff
path: root/mail-mta/exim
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-04-18 17:45:22 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-04-18 17:45:22 +0200
commit827a264ac42b4ed3dc5b16bb47639958b024f342 (patch)
tree32924947584dcfb84508df0a9634b84176b79194 /mail-mta/exim
parentsquidguard: manifest was good (diff)
downloadportage-827a264ac42b4ed3dc5b16bb47639958b024f342.tar.xz
exim: fix building with ldap,ssl,sqlite,postgresql,mysql by using propre
ROOT and libdir
Diffstat (limited to 'mail-mta/exim')
-rw-r--r--mail-mta/exim/Manifest2
-rw-r--r--mail-mta/exim/exim-4.69.ebuild12
2 files changed, 7 insertions, 7 deletions
diff --git a/mail-mta/exim/Manifest b/mail-mta/exim/Manifest
index 8ae9ff90..28d653e7 100644
--- a/mail-mta/exim/Manifest
+++ b/mail-mta/exim/Manifest
@@ -14,4 +14,4 @@ AUX pam.d-exim 101 RMD160 8ad4e0a05068ae20d5e8d401146456945d068322 SHA1 bdca3fb3
AUX system_filter.exim 8120 RMD160 267545af6dd333e0e5f05e1d4d02a0e8ee638d45 SHA1 a9eaf04538cd35eae726e2920cb0d115bc2ab2e0 SHA256 35539f6d20f2847b4093824618797b4d602dcc5b7d920e49bf5c26f0fd89858e
DIST exim-4.69.tar.bz2 1658939 RMD160 ae97c807c63f858ba4a0ab402677225da9337d05 SHA1 321e238b6e6b32498110511ce72a911538305a39 SHA256 18e856cfdb682ba8e8ccb943ab538734d34d0ecefd63465ecc5430bc15915069
DIST exiscan.conf 22113 RMD160 e52b77f656b3ba2105e833075d1368f41e414d64 SHA1 74dc6e30f49402f5e6fefc280ea325d17f6af8c4 SHA256 f8cc731d3225a902461e05c0997df23bfd231ea8d5bf33a9aba5783bc6e0c964
-EBUILD exim-4.69.ebuild 9919 RMD160 4b52d5ee49cc79ffd918f5ca95e7ff7b7ee15cef SHA1 916137aa8992a21e4c11dc2cbac581bdc6991d9e SHA256 458e6ba17b2f593715da17a0a403a708689dcea1a70f89ff0067e2dcb12e804a
+EBUILD exim-4.69.ebuild 9981 RMD160 eecbe09d1df083e4145c026e150212699503c5e6 SHA1 35778b37ca20d22313dca4db30f995286efab53e SHA256 612aae1b344cb353819a9bdf6348555e1336f0862b7420df01dc7bb9e3fd27c2
diff --git a/mail-mta/exim/exim-4.69.ebuild b/mail-mta/exim/exim-4.69.ebuild
index d19712a9..1d32fd91 100644
--- a/mail-mta/exim/exim-4.69.ebuild
+++ b/mail-mta/exim/exim-4.69.ebuild
@@ -177,24 +177,24 @@ src_unpack() {
sed -i \
-e "s:# \(LOOKUP_LDAP=yes\):\1:" \
-e "s:# \(LDAP_LIB_TYPE=OPENLDAP2\):\1:" Local/Makefile
- LOOKUP_INCLUDE="-I/usr/include/ldap"
- LOOKUP_LIBS="-L/usr/lib -lldap -llber"
+ LOOKUP_INCLUDE="-I${ROOT}/usr/include/ldap"
+ LOOKUP_LIBS="-L${ROOT}/usr/$(get_libdir) -lldap -llber"
fi
if use mysql; then
sed -i "s:# LOOKUP_MYSQL=yes:LOOKUP_MYSQL=yes:" Local/Makefile
- LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/mysql"
- LOOKUP_LIBS="$LOOKUP_LIBS -L/usr/lib -lmysqlclient"
+ LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I${ROOT}/usr/include/mysql"
+ LOOKUP_LIBS="$LOOKUP_LIBS -L${ROOT}/usr/$(get_libdir) -lmysqlclient"
fi
if use postgres; then
sed -i "s:# LOOKUP_PGSQL=yes:LOOKUP_PGSQL=yes:" Local/Makefile
- LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/postgresql"
+ LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I${ROOT}/usr/include/postgresql"
LOOKUP_LIBS="$LOOKUP_LIBS -lpq"
fi
if use sqlite; then
sed -i "s:# LOOKUP_SQLITE=yes: LOOKUP_SQLITE=yes:" Local/Makefile
- LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I/usr/include/sqlite"
+ LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I${ROOT}/usr/include/sqlite"
LOOKUP_LIBS="$LOOKUP_LIBS -lsqlite3"
fi
if [ -n "$LOOKUP_INCLUDE" ]; then