Created attachment 186048 [details] Fix build with threads disabled When threads are disabled (PTHREADS=off MPI=off) math/pari install fail with an error: /usr/bin/strip /tmp/p/usr/ports/math/pari/work/stage/usr/local/lib/libpari-gmp*.so.* strip: open /tmp/p/usr/ports/math/pari/work/stage/usr/local/lib/libpari-gmp*.so.* failed: No such file or directory Attached patch fixes it. Also please consider removing MAKE_JOBS_UNSAFE. At least on my system it builds whith make jobs enabled.
Created attachment 186052 [details] patch Thanks for your patch! I've got a simpler patch. There's no need for -gmp suffix. Cheers! Yuri ~ builds in poudriere 11.1 amd64
It is up to you, but I prefer to keep patches to upstream files small. If Configure will be changed by upstream, you will have to update a patch.
> It is up to you, but I prefer to keep patches to upstream files small. If Configure will be changed by upstream, you will have to update a patch. Ok. I will raise this in their ML. But I see -gmp as serving no purpose on FreeBSD. Rather, it hurts because of precisely this issue. Cheers! Yuri
Created attachment 186053 [details] patch I combined both new and old patches for Configure into one command in Makefile. One-liner patches should be preferably in the Makefile. I will ask them to kill both suffixes. Yuri
Created attachment 186054 [details] patch
Created attachment 186055 [details] patch
Thank you for your submission!
A commit references this bug: Author: yuri Date: Wed Nov 22 18:55:30 UTC 2017 New revision: 454700 URL: https://svnweb.freebsd.org/changeset/ports/454700 Log: math/pari: Fixed install without threads; Removed MAKE_JOBS_UNSAFE; Added LICENSE_FILE PR: 222041 Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13174 Changes: head/math/pari/Makefile head/math/pari/files/ head/math/pari/pkg-plist