# HG changeset patch # User Pascal Bellard # Date 1488012863 -3600 # Node ID 8dcf607135e893472bf4eefc7691d8cd6b6b2278 # Parent 10c74e95b062735f979d2c4f013bf1d74e5933ff e4rat: add -lcom_err diff -r 10c74e95b062 -r 8dcf607135e8 e2fsprogs-dev/receipt --- a/e2fsprogs-dev/receipt Fri Feb 24 17:29:56 2017 +0100 +++ b/e2fsprogs-dev/receipt Sat Feb 25 09:54:23 2017 +0100 @@ -18,6 +18,7 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.*a $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib + sed -i 's/-lext2fs/& -lcom_err/' $fs/usr/lib/pkgconfig/ext2fs.pc cp -a $install/usr/include $fs/usr cat $wanted_stuff/*.files-list | while read file; do [ -f ${fs}$file ] && rm -f ${fs}$file diff -r 10c74e95b062 -r 8dcf607135e8 e4rat/receipt --- a/e4rat/receipt Fri Feb 24 17:29:56 2017 +0100 +++ b/e4rat/receipt Sat Feb 25 09:54:23 2017 +0100 @@ -17,6 +17,7 @@ # Rules to configure and make the package. compile_rules() { + export LDFLAGS="$LDFLAGS -lcom_err" patch -p0 < $stuff/e4rat-boost.u cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr . && make && make install