wok-current rev 18736
postfix, cyrus-imapd; fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 23:38:11 2015 +0100 (2015-12-21) |
parents | 139df21c10dd |
children | ce4a63ee0b85 |
files | cyrus-imapd/receipt postfix/receipt |
line diff
1.1 --- a/cyrus-imapd/receipt Mon Dec 21 16:28:32 2015 +0100 1.2 +++ b/cyrus-imapd/receipt Mon Dec 21 23:38:11 2015 +0100 1.3 @@ -19,7 +19,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + export LDFLAGS="$LDFLAGS -lpthread" 1.9 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.10 --with-service-path=/usr/lib/cyrus \ 1.11 --with-cyrus-prefix=/usr/lib/cyrus \
2.1 --- a/postfix/receipt Mon Dec 21 16:28:32 2015 +0100 2.2 +++ b/postfix/receipt Mon Dec 21 23:38:11 2015 +0100 2.3 @@ -21,7 +21,6 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - cd $src 2.8 make makefiles \ 2.9 CCARGS='-DHAS_DB -DHAS_LDAP \ 2.10 -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/include/sasl \ 2.11 @@ -29,7 +28,7 @@ 2.12 -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ 2.13 -DUSE_TLS \ 2.14 -DDEF_MANPAGE_DIR=\"/usr/share/man\"' \ 2.15 - AUXLIBS="-ldb -lldap -llber -lsasl2 -lssl -lcrypto \ 2.16 + AUXLIBS="-ldb -lldap -llber -lsasl2 -lssl -lcrypto -lpthread \ 2.17 -L/usr/lib/mysql -lmysqlclient -lz -lm " && 2.18 make 2.19 install_root=$WOK/$PACKAGE/install \