diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-22 07:31:18 +0100 |
commit | 908778078736bd36f7a60a2d576d415cb8e000fa (patch) | |
tree | c6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-util/elfkickers/elfkickers-3.1a.ebuild | |
parent | 185fa19bbf68a4d4dca534d2b46729207a177f16 (diff) |
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-util/elfkickers/elfkickers-3.1a.ebuild')
-rw-r--r-- | dev-util/elfkickers/elfkickers-3.1a.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dev-util/elfkickers/elfkickers-3.1a.ebuild b/dev-util/elfkickers/elfkickers-3.1a.ebuild index cc49c477cb5b..17da43f9da49 100644 --- a/dev-util/elfkickers/elfkickers-3.1a.ebuild +++ b/dev-util/elfkickers/elfkickers-3.1a.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,14 +24,15 @@ PATCHES=( "${FILESDIR}"/${PN}-3.1-respect-CFLAGS-LDFLAGS.patch "${FILESDIR}"/${PN}-3.1-create-destdir-path.patch "${FILESDIR}"/add-freebsd-elf-defs.patch + "${FILESDIR}"/${PN}-3.1-AR.patch + "${FILESDIR}"/${PN}-3.1-CC.patch ) src_prepare() { default - sed -i -e "s:^prefix = /usr/local:prefix = ${D}:" Makefile \ - || die "sed failed" -} -src_compile() { - emake CC=$(tc-getCC) all + tc-export AR CC + + sed -i -e "s:^prefix = /usr/local:prefix = \${DESTDIR}/:" Makefile \ + || die "sed failed" } |