summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-06-21 18:13:27 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-06-21 18:14:54 +0200
commit9d91f5befe76f9c31d1e009926954186276f623c (patch)
treeacb5144c88455067c4baf665983e7332ebf1ba5a
parentdev-python/pandas: Bump to 2.0.2 (diff)
downloadgentoo-9d91f5befe76f9c31d1e009926954186276f623c.tar.gz
gentoo-9d91f5befe76f9c31d1e009926954186276f623c.tar.bz2
gentoo-9d91f5befe76f9c31d1e009926954186276f623c.zip
sci-libs/linux-gpib-modules: use MODULES_MAKEARGS for emake
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r2.ebuild (renamed from sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r1.ebuild)16
1 files changed, 4 insertions, 12 deletions
diff --git a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r1.ebuild b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r2.ebuild
index eae3c0404cb4..618beb805bbb 100644
--- a/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r1.ebuild
+++ b/sci-libs/linux-gpib-modules/linux-gpib-modules-4.3.5-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/linux-gpib-kernel-${PV}"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug"
COMMONDEPEND=""
@@ -35,29 +35,21 @@ src_unpack() {
}
src_configure() {
- my_gpib_makeopts=''
- use debug && my_gpib_makeopts+='GPIB-DEBUG=1 '
-
- my_gpib_makeopts+="LINUX_SRCDIR=${KERNEL_DIR} "
+ use debug && MODULES_MAKEARGS+=( 'GPIB-DEBUG=1' )
}
src_compile() {
- set_arch_to_kernel
-
# The individual modules don't have separate targets so we can't use
# modlist here.
- emake \
- ${my_gpib_makeopts}
+ emake "${MODULES_MAKEARGS[@]}"
}
src_install() {
- set_arch_to_kernel
emake \
+ "${MODULES_MAKEARGS[@]}" \
DESTDIR="${ED}" \
INSTALL_MOD_PATH="${ED}" \
- DEPMOD="/bin/true" \
docdir="${ED}/usr/share/doc/${PF}/html" \
- ${my_gpib_makeopts} \
install
modules_post_process