mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
sci-electronics/dsview: Set CC and AR.
The build system would fall back to hardcoded defaults otherwise. Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=7
|
|||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
GITHUB_PN="DSView"
|
GITHUB_PN="DSView"
|
||||||
|
|
||||||
inherit autotools cmake python-r1 udev xdg
|
inherit autotools cmake python-r1 toolchain-funcs udev xdg
|
||||||
|
|
||||||
DESCRIPTION="An open source multi-function instrument"
|
DESCRIPTION="An open source multi-function instrument"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@@ -52,6 +52,9 @@ PATCHES=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
export CC="$(tc-getCC)"
|
||||||
|
export AR="$(tc-getAR)"
|
||||||
|
|
||||||
default
|
default
|
||||||
|
|
||||||
local LIBDIR="/usr/$(get_libdir)"
|
local LIBDIR="/usr/$(get_libdir)"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ EAPI=7
|
|||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
GITHUB_PN="DSView"
|
GITHUB_PN="DSView"
|
||||||
|
|
||||||
inherit autotools cmake python-r1 udev xdg
|
inherit autotools cmake python-r1 toolchain-funcs udev xdg
|
||||||
|
|
||||||
DESCRIPTION="An open source multi-function instrument"
|
DESCRIPTION="An open source multi-function instrument"
|
||||||
HOMEPAGE="
|
HOMEPAGE="
|
||||||
@@ -52,6 +52,9 @@ PATCHES=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
export CC="$(tc-getCC)"
|
||||||
|
export AR="$(tc-getAR)"
|
||||||
|
|
||||||
default
|
default
|
||||||
|
|
||||||
local LIBDIR="/usr/$(get_libdir)"
|
local LIBDIR="/usr/$(get_libdir)"
|
||||||
|
|||||||
Reference in New Issue
Block a user