summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-15 07:33:24 +0100
committerSam James <sam@gentoo.org>2022-07-15 07:33:45 +0100
commitc9c058366b50c2086714fe9185168795d9931e8c (patch)
tree33a4817b95b192d6d69d6084789e395148c372d0 /media-libs/fidlib
parentmedia-video/matroxset: EAPI 8 (diff)
downloadgentoo-c9c058366b50c2086714fe9185168795d9931e8c.tar.gz
gentoo-c9c058366b50c2086714fe9185168795d9931e8c.tar.bz2
gentoo-c9c058366b50c2086714fe9185168795d9931e8c.zip
media-libs/fidlib: use edo
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/fidlib')
-rw-r--r--media-libs/fidlib/fidlib-0.9.10-r1.ebuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
index 43f1384db120..f1ded950cbab 100644
--- a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
+++ b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic toolchain-funcs
+inherit edo flag-o-matic toolchain-funcs
DESCRIPTION="Run-time filter design and execution library"
HOMEPAGE="http://uazu.net/fidlib/"
@@ -17,11 +17,6 @@ PATCHES=(
"${FILESDIR}"/${P}-extern.patch
)
-doecho() {
- echo "$@"
- "$@" || die
-}
-
src_prepare() {
default
@@ -33,11 +28,11 @@ src_prepare() {
src_compile() {
# build library
- doecho $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
+ edo $(tc-getCC) ${CFLAGS} -DT_LINUX ${LDFLAGS} -Wl,-soname,libfidlib.so.${PV:0:1} \
-fPIC -shared fidlib.c -lm -o libfidlib.so.${PV:0:1}
# build command-line tool
- doecho $(tc-getCC) ${CFLAGS} ${LDFLAGS} firun.c -lm ./libfidlib.so.${PV:0:1} -o firun
+ edo $(tc-getCC) ${CFLAGS} ${LDFLAGS} firun.c -lm ./libfidlib.so.${PV:0:1} -o firun
}
src_install() {