[arch-commits] Commit in postfix/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Tue Mar 29 13:39:06 UTC 2011
Date: Tuesday, March 29, 2011 @ 09:39:06
Author: bisson
Revision: 117190
implement sqlite support FS#23488
Modified:
postfix/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-29 10:39:43 UTC (rev 117189)
+++ PKGBUILD 2011-03-29 13:39:06 UTC (rev 117190)
@@ -5,12 +5,12 @@
pkgname=postfix
pkgver=2.8.2
-pkgrel=2
+pkgrel=3
pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)'
url='http://www.postfix.org/'
arch=('i686' 'x86_64')
license=('custom')
-depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs>=8.4' 'libldap>=2.4' 'db')
+depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 'libldap' 'db')
backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz" \
'aliases.patch' \
@@ -28,14 +28,22 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make makefiles \
- CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl \
- -DUSE_CYRUS_SASL \
- -DHAS_LDAP \
- -DUSE_TLS \
- -DHAS_MYSQL -I/usr/include/mysql \
- -DHAS_PGSQL -I/usr/include/postgresql" \
- AUXLIBS="-lsasl2 -lssl -lcrypto -lldap -llber -lmysqlclient -lz -lm -lpq"
+ make makefiles CCARGS=' \
+ -DUSE_SASL_AUTH -I/usr/include/sasl \
+ -DUSE_CYRUS_SASL \
+ -DHAS_LDAP \
+ -DUSE_TLS \
+ -DHAS_MYSQL -I/usr/include/mysql \
+ -DHAS_PGSQL -I/usr/include/postgresql \
+ -DHAS_SQLITE \
+ ' AUXLIBS=' \
+ -lsasl2 -lssl -lcrypto \
+ -lldap -llber \
+ -lmysqlclient -lz -lm \
+ -lpq \
+ -lsqlite3 -lpthread \
+ '
+
make OPT="${CFLAGS}"
}
More information about the arch-commits
mailing list