libarchive: bump version.

This commit is contained in:
Jerome Duval
2019-09-27 21:02:24 +02:00
parent a66a1ae141
commit 4060196054

View File

@@ -24,7 +24,7 @@ COPYRIGHT="2003-2013 Tim Kientzle"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://www.libarchive.org/downloads/libarchive-$portVersion.tar.gz"
CHECKSUM_SHA256="ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e"
CHECKSUM_SHA256="8643d50ed40c759f5412a3af4e353cffbce4fdf3b5cf321cb72cacf06b2d825e"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -42,7 +42,7 @@ PROVIDES="
cmd:bsdcat$commandSuffix = $portVersion compat >= 3.0
cmd:bsdcpio$commandSuffix = $portVersion compat >= 3.0
cmd:bsdtar$commandSuffix = $portVersion compat >= 3.0
lib:libarchive$secondaryArchSuffix = 13.3.3 compat >= 13
lib:libarchive$secondaryArchSuffix = 13.4.0 compat >= 13
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -56,7 +56,7 @@ REQUIRES="
PROVIDES_devel="
libarchive${secondaryArchSuffix}_devel = $portVersion compat >= 3.0
devel:libarchive$secondaryArchSuffix = 13.3.3 compat >= 13
devel:libarchive$secondaryArchSuffix = 13.4.0 compat >= 13
"
REQUIRES_devel="
libarchive$secondaryArchSuffix == $portVersion
@@ -85,7 +85,9 @@ BUILD_PREREQUIRES="
BUILD()
{
autoreconf -fi
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
LDFLAGS="-lbsd" CFLAGS="-D_BSD_SOURCE" ac_cv_func_readpassphrase=yes \
runConfigure --omit-dirs binDir \
./configure --bindir=$commandBinDir
make $jobArgs
}