aboutsummaryrefslogtreecommitdiff
path: root/extra/libbsd/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libbsd/build')
-rwxr-xr-xextra/libbsd/build20
1 files changed, 1 insertions, 19 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
-)