commit:     55fbcfa69d486d47b4ff1c4eb237212917404752
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 08:43:22 2024 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 08:43:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55fbcfa6

app-pda/iripdb: add die in src_compile

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 app-pda/iripdb/iripdb-0.1.3b.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-pda/iripdb/iripdb-0.1.3b.ebuild 
b/app-pda/iripdb/iripdb-0.1.3b.ebuild
index 959d4997dc63..57dd91079dcf 100644
--- a/app-pda/iripdb/iripdb-0.1.3b.ebuild
+++ b/app-pda/iripdb/iripdb-0.1.3b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -27,9 +27,9 @@ S="${WORKDIR}/${PN}"
 
 src_compile() {
        echo "$(tc-getCXX) ${CXXFLAGS} -c -o main.o main.cpp"
-       $(tc-getCXX) ${CXXFLAGS} -c -o main.o -I/usr/include/taglib main.cpp
+       $(tc-getCXX) ${CXXFLAGS} -c -o main.o -I/usr/include/taglib main.cpp || 
die
        echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag 
-lstdc++"
-       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag 
-lstdc++ || die
 }
 
 src_install() {

Reply via email to