summaryrefslogtreecommitdiff
path: root/repo/system/libarchive.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/libarchive.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/libarchive.xibuild')
-rw-r--r--repo/system/libarchive.xibuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/repo/system/libarchive.xibuild b/repo/system/libarchive.xibuild
index 80c60c4..6f0d686 100644
--- a/repo/system/libarchive.xibuild
+++ b/repo/system/libarchive.xibuild
@@ -6,12 +6,13 @@ SOURCE=https://github.com/libarchive/libarchive/releases/download/v3.5.2/libarch
DESC="A library that provides a single interface for reading and writing various compression formats"
-build () {
+patch () {
sed -i '436a if ((OSSL_PROVIDER_load(NULL, "legacy")) == NULL) \
return (ARCHIVE_FAILED);' libarchive/archive_digest.c
+}
+build () {
./configure --prefix=/usr --disable-static
-
make
}