packages/mail/postfix
Jo-Philipp Wich abcadcbede postfix: fix musl compatibility
The current package patches `makedefs` to probe for the existance
of the `nsl` and `resolv` libraries but uses the wrong variables
for the prefix, leading to `makedefs` probing the host directories,
not the staging dir ones.

Replace `$PKG_BUILD_DIR` with `$STAGING_DIR` to perform the library
tests in the correct directory.

Fixes the following error spotted by doing test builds against musl
which does not provide a `libnsl`:

    .../mips-openwrt-linux-musl/bin/ld: cannot find -lnsl
    collect2: error: ld returned 1 exit status
    make: *** [master] Error 1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-26 14:55:33 +02:00
..
files postfix: upgrade to version 3.0.0 2015-02-16 01:17:45 +03:00
patches postfix: fix musl compatibility 2015-06-26 14:55:33 +02:00
Makefile postfix: fix musl compatibility 2015-06-26 14:55:33 +02:00