# Description: Handle ELF object files and DWARF debugging information # URL: https://sourceware.org/elfutils/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: m4 name=elfutils version=0.194 release=1 source=(https://sourceware.org/ftp/${name}/${version}/${name}-${version}.tar.bz2 musl.patch) build() { cd ${name}-${version} patch -Np1 -i ../musl.patch LDFLAGS="-Wl,--undefined-version $LDFLAGS" \ ./configure \ --prefix=/usr \ --disable-symbol-versioning \ --disable-debuginfod \ --disable-libdebuginfod \ --without-zstd \ ac_cv_c99=yes # Override check for Clang. # Utility functions that need argp and fts, not strictly necessary # for the library to function :>libdwfl/argp-std.c :>libdwfl/linux-kernel-modules.c # Useless stuff printf '%s\n' "all:" "install:" > src/Makefile make make DESTDIR=$PKG install }