projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc19c44
)
app-editors/wxhexeditor: Improve OpenMP checks
author
Mart Raudsepp
<leio@gentoo.org>
Sat, 6 Jan 2018 14:23:32 +0000
(16:23 +0200)
committer
Mart Raudsepp
<leio@gentoo.org>
Sat, 6 Jan 2018 14:33:14 +0000
(16:33 +0200)
Use tc-check-opemp instead of tc-has-openmp for consistent error output.
Check it in pkg_setup too.
Don't do the check for binary packages.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-editors/wxhexeditor/wxhexeditor-0.24.ebuild
patch
|
blob
|
history
diff --git
a/app-editors/wxhexeditor/wxhexeditor-0.24.ebuild
b/app-editors/wxhexeditor/wxhexeditor-0.24.ebuild
index a9a2abcec259756be90d7ae870029d83afe4fa29..dbdf1906fe82ea6c7fb0e6f571f8b885efde53ad 100644
(file)
--- a/
app-editors/wxhexeditor/wxhexeditor-0.24.ebuild
+++ b/
app-editors/wxhexeditor/wxhexeditor-0.24.ebuild
@@
-30,8
+30,11
@@
PATCHES=(
)
pkg_pretend() {
- tc-has-openmp \
- || die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler."
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
}
src_prepare() {