From d1cb0ade4211d22ef224c32426d98952393dfb66 Mon Sep 17 00:00:00 2001 From: sukanka Date: Sun, 9 Feb 2025 16:26:26 +0800 Subject: [PATCH] freebayes: fix build failure --- BioArchLinux/freebayes/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/BioArchLinux/freebayes/PKGBUILD b/BioArchLinux/freebayes/PKGBUILD index fd42800bb4..ccc37d6402 100644 --- a/BioArchLinux/freebayes/PKGBUILD +++ b/BioArchLinux/freebayes/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: Clint Valentine pkgname=freebayes pkgver=1.3.8 -pkgrel=5 +pkgrel=6 pkgdesc="About Bayesian haplotype-based genetic polymorphism discovery and genotyping" arch=('x86_64') url="https://github.com/freebayes/freebayes" @@ -28,9 +28,14 @@ prepare() { cd "${pkgname}-${pkgver}" - sed -i "s|dependency('libvcflib'|cc.find_library('libvcflib'|g" meson.build - sed -i "s|dependency('libseqlib'|cc.find_library('libseqlib'|g" meson.build - sed -i 's|#include "../intervaltree/IntervalTree.h"|#include |g' src/{*.cpp,*.h} + sed -i meson.build -e "s|dependency('libvcflib'|cc.find_library('libvcflib'|g" \ + -e "s|dependency('libseqlib'|cc.find_library('libseqlib'|g" \ + -e "s|'src',|'src', '/usr/include',|g" + sed -i src/{*.cpp,*.h} \ + -e 's|#include "../intervaltree/IntervalTree.h"|#include |g' \ + -e 's|||g' \ + -e 's|"join.h"||g' \ + -e 's|"Variant.h"||g' } build() { cd "${pkgname}-${pkgver}"