[Bug 222585] [maintainer-update] lang/opencoarrays update to 1.9.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 26 09:54:34 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222585

--- Comment #2 from Anton Shterenlikht <as at cmplx.uk> ---
Sorry for the delay.
I need help.

As far as I can see the upstream does detailed checks for the Fortran
compiler version and gets 6.4.0. It then uses this string
in a path name:

-- Installing:
/usr/ports/lang/opencoarrays/work/stage/usr/local/include/OpenCoarrays-1.9.2_GNU-6.4.0
-- Installing:
/usr/ports/lang/opencoarrays/work/stage/usr/local/include/OpenCoarrays-1.9.2_GNU-6.4.0/opencoarrays.mod

However, all I have it GCC_VER which gives me just "6", so using

include/OpenCoarrays-1.9.2_GNU-%%GCC_VER%%/opencoarrays.mod

in pkg-plist gives this error:

===>   Registering installation for opencoarrays-1.9.2_1
pkg-static: Unable to access file
/usr/ports/lang/opencoarrays/work/stage/usr/local/include/OpenCoarrays-1.9.2_GNU-6/opencoarrays.mod:No
such file or directory

So, the question - is there an easy way to set a var
in the Makefile to the full Fortran compiler version, e.g. 6.4.0?
If not, the only way I see is to overwrite the upstream's
file name with GCC_VER. I can probably do this e.g. with ${REINPLACE_CMD}.

Please advise

Thanks

Anton

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list