Path to this page:
Subject: CVS commit: pkgsrc/archivers/libarchive/files
From: Ryo ONODERA
Date: 2021-03-13 20:34:11
Message id: 20210313193411.AC0CEFA95@cvs.NetBSD.org
Log Message:
libarchive: Fix bootstrap build under Haiku OS/x86_64 R1/beta2
Haiku OS R1/beta2 provides readpassphrase.h header file and
readpassphrase function in libbsd library.
And libarchive's configure script detects readpassphrase.h
and does not detect readpassphrase function.
In this case, libarchive try to use readpassphrase.h and
build and use internal readpassphrase inplementation.
readpassphrase.h defines readpassphrase function as non-static
and the internal implemantation is static.
This inconsistency breaks bootstrap pkgsrc under Haiku OS/x86_64 R1/beta2.
Add -lbsd to LIBS in Haiku OS case to fix the build and bootstrap.
Files: