diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-10 22:42:24 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-10 22:42:24 +0900 |
commit | 88b3781a49f93e28c4a96b2effbc069524ae18b5 (patch) | |
tree | 62122c2cd0320009c6b8b94b4e9126d94c96b53f /dev-db/cdb | |
parent | dev-db/cdb: fix build (diff) | |
download | gentoo-88b3781a49f93e28c4a96b2effbc069524ae18b5.tar.gz gentoo-88b3781a49f93e28c4a96b2effbc069524ae18b5.tar.bz2 gentoo-88b3781a49f93e28c4a96b2effbc069524ae18b5.zip |
dev-db/cdb: do not call ar directly
Closes: https://bugs.gentoo.org/718696
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-db/cdb')
-rw-r--r-- | dev-db/cdb/cdb-0.75-r4.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild index 23009ad748ed..1bd0111211c2 100644 --- a/dev-db/cdb/cdb-0.75-r4.ebuild +++ b/dev-db/cdb/cdb-0.75-r4.ebuild @@ -25,8 +25,10 @@ PATCHES=( src_prepare() { default - sed -i -e 's/head -1/head -n 1/g' Makefile \ - || die "sed Makefile failed" + sed -i \ + -e "s/head -1/head -n 1/g" \ + -e "s/ar /$(tc-getAR) /" \ + Makefile } src_configure() { |