openmpi: fix musl.

This commit is contained in:
Leah Neukirchen 2017-04-09 15:34:11 +02:00
parent 2d6785223f
commit 734a5c3dd3

View file

@ -19,8 +19,9 @@ distfiles="${homepage}/software/ompi/v${version%.*}/downloads/${pkgname}-${versi
checksum=b169e15f5af81bf3572db764417670f508c0df37ce86ff50deb56bd3acb43957
nocross=yes # libtool -rpath /usr/lib issue
post_install() {
vlicense LICENSE
post_extract() {
sed -i 's,sys/unistd.h,unistd.h,g' opal/include/opal/sys/cma.h
sed -i '1i#include <unistd.h>' opal/mca/pmix/pmix112/pmix/include/pmix_server.h
}
pre_configure() {
# used wrongly upstream? but nocross anyway
@ -39,6 +40,9 @@ pre_configure() {
unset FC FC_FOR_BUILD
}
post_install() {
vlicense LICENSE
}
libopenmpi_package() {
short_desc+=" - runtime libraries"