FS#24182 - [postfix] Missing LDFLAGS, remove -g

Attached to Project: Arch Linux
Opened by Kristoffer Tidemann (ktide) - Monday, 09 May 2011, 12:18 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 13 May 2011, 12:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

PKGBUILD should look like this:

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make makefiles DEBUG="" 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=' \
${LDFLAGS} \
-lsasl2 -lssl -lcrypto \
-lldap -llber \
-lmysqlclient -lz -lm \
-lpq \
-lsqlite3 -lpthread \
'

make OPT="${CFLAGS}"
}


Also removes -g from CFLAGS by setting DEBUG=""
The LDFLAGS can also be merged into the CFLAGS instead of using AUXLIBS
This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 13 May 2011, 12:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  postfix-2.8.3-2 in [testing]
Comment by Gaetan Bisson (vesath) - Friday, 13 May 2011, 12:46 GMT
I've put a new version in [testing]; if no issue is reported with it, I will move it to [extra] in a day or so.

Loading...