From 25f520fb4323d5b1e5512f52162c6561952f72be Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Fri, 21 Dec 2018 22:21:41 -0800
Subject: [PATCH] libarchive: Update configure arguments

Some of these were introduced after the Makefile was written. Adding them
guarentees fewer issues down the road.

Also did some small reorganization for consistency between packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 libs/libarchive/Makefile | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/libs/libarchive/Makefile b/libs/libarchive/Makefile
index cb72e9c2c5..d5dee8ac44 100644
--- a/libs/libarchive/Makefile
+++ b/libs/libarchive/Makefile
@@ -14,10 +14,13 @@ PKG_RELEASE:=2
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://www.libarchive.org/downloads
 PKG_HASH:=ba7eb1781c9fbbae178c4c6bad1c6eb08edab9a1496c64833d1715d022b30e2e
+
 PKG_MAINTAINER:=Johannes Morgenroth <morgenroth@ibr.cs.tu-bs.de>
 PKG_LICENSE:=BSD-2-Clause
+PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:libarchive:libarchive
 
+PKG_BUILD_PARALLEL:=1
 PKG_INSTALL:=1
 PKG_FIXUP:=autoreconf
 
@@ -59,14 +62,18 @@ define Package/bsdtar/description
 endef
 
 CONFIGURE_ARGS += \
-	--disable-bsdcpio \
 	--enable-bsdtar=shared \
+	--disable-bsdcpio \
+	--disable-rpath \
 	--disable-acl \
 	--disable-xattr \
+	--without-cng \
+	--without-iconv \
+	--without-lz4 \
+	--without-lzo2 \
 	--without-nettle \
 	--without-xml2 \
-	--without-lz4 \
-	--without-cng \
+	--without-zstd
 
 ifeq ($(BUILD_VARIANT),noopenssl)
 	CONFIGURE_ARGS += --without-openssl
-- 
2.30.2