summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-06-19 21:30:19 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-06-19 21:30:19 +0200
commit7d8ad2328d028e1d9e03fee0a3ddb74ecaf1326d (patch)
tree494815c08263a1591ac6962e3c9446335ba3857c /dev-ada
parentdev-perl/Clipboard: Fix for '.' in @INC re bug #615138 (diff)
downloadgentoo-7d8ad2328d028e1d9e03fee0a3ddb74ecaf1326d.tar.gz
gentoo-7d8ad2328d028e1d9e03fee0a3ddb74ecaf1326d.tar.bz2
gentoo-7d8ad2328d028e1d9e03fee0a3ddb74ecaf1326d.zip
dev-ada/xmlada: die when compile fails
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/xmlada-2017.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ada/xmlada/xmlada-2017.ebuild b/dev-ada/xmlada/xmlada-2017.ebuild
index d2d897d203e3..7b42b3188719 100644
--- a/dev-ada/xmlada/xmlada-2017.ebuild
+++ b/dev-ada/xmlada/xmlada-2017.ebuild
@@ -32,13 +32,13 @@ src_compile () {
if use shared; then
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=relocatable \
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
- -cargs ${ADAFLAGS}
+ -cargs ${ADAFLAGS} || die "gprbuild failed"
fi
for kind in static static-pic; do
if use ${kind}; then
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=${kind} \
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
- -cargs ${ADAFLAGS}
+ -cargs ${ADAFLAGS} || die "gprbuild failed"
fi
done
}