aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextra/libbsd/build20
-rw-r--r--extra/libbsd/checksums1
-rw-r--r--extra/libbsd/sources3
3 files changed, 2 insertions, 22 deletions
diff --git a/extra/libbsd/build b/extra/libbsd/build
index 211f953b..e7de392a 100755
--- a/extra/libbsd/build
+++ b/extra/libbsd/build
@@ -1,27 +1,9 @@
#!/bin/sh -e
-tmp_dir=$PWD/tmp
-
-(
-cd libmd
-
-./configure \
- --prefix=/ \
- --disable-shared
-
-make
-make DESTDIR="$tmp_dir" install
-)
-
-(
-cd libbsd
-
-export CFLAGS="$CFLAGS -I$tmp_dir/include"
-export LIBS="$tmp_dir/lib/libmd.a"
+export CPPFLAGS="$CPPFLAGS $(pkgconf --cflags libmd)"
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
-)
diff --git a/extra/libbsd/checksums b/extra/libbsd/checksums
index 6e86dd3d..1a414792 100644
--- a/extra/libbsd/checksums
+++ b/extra/libbsd/checksums
@@ -1,3 +1,2 @@
%BLAKE3
9605fffa84e0234f18dc9d08e8ec39e7d8199926c1fc5bf93aa14295720d1d01 libbsd-0.11.6.tar.xz
-ad227a03d40aaac3e44c91774b76779ede38c676b146b228fa60fd4bca6542e5 libmd-1.0.3.tar.xz
diff --git a/extra/libbsd/sources b/extra/libbsd/sources
index 56bb2b53..39dd596b 100644
--- a/extra/libbsd/sources
+++ b/extra/libbsd/sources
@@ -1,2 +1 @@
-https://libbsd.freedesktop.org/releases/libbsd-0.11.6.tar.xz libbsd
-https://libbsd.freedesktop.org/releases/libmd-1.0.3.tar.xz libmd
+https://libbsd.freedesktop.org/releases/libbsd-0.11.6.tar.xz