pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/libarchive/files



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sat Mar 13 19:34:11 UTC 2021

Modified Files:
        pkgsrc/archivers/libarchive/files: configure

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.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/archivers/libarchive/files/configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/libarchive/files/configure
diff -u pkgsrc/archivers/libarchive/files/configure:1.21 pkgsrc/archivers/libarchive/files/configure:1.22
--- pkgsrc/archivers/libarchive/files/configure:1.21    Tue May 26 09:16:39 2020
+++ pkgsrc/archivers/libarchive/files/configure Sat Mar 13 19:34:11 2021
@@ -10285,6 +10285,7 @@ _LT_EOF
     haiku*)
       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
       link_all_deplibs=yes
+      LIBS="-lbsd $LIBS"
       ;;
 
     os2*)



Home | Main Index | Thread Index | Old Index