Date: Thu, 11 Jan 2018 10:50:17 GMT From: Anton Shterenlikht <mexas@bristol.ac.uk> To: fortran@freebsd.org, gerald@FreeBSD.org Subject: help with GCC_VER GCC_VERSION Message-ID: <201801111050.w0BAoHEn007137@mech-as222.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
Hi Gerald Need your help I'm updating lang/opencoarrays. Previously pkg-plist had include/OpenCoarrays/GNU/%%GCC_VER%%/opencoarrays.mod which worked fine. Now upstream put the whole version triplet into the file name: include/OpenCoarrays-1.9.3_GNU-6.4.0/opencoarrays.mod so %%GCC_VER%% does not work anymore, because it has only the major version. I notice that lang/gcc* ports use %%GCC_VERSION%% in pkg-plist. Is this different from %%GCC_VER%%? I thought that maybe it contains the full version triplet? However, if I try to use it in my pkg-plist: include/OpenCoarrays/GNU/%%GCC_VERSION%%/opencoarrays.mod it doesn't seem to be recognised: # make package ===> Building package for opencoarrays-1.9.3_1 pkg-static: Unable to access file /usr/ports/lang/opencoarrays/work/stage/usr/local/include/OpenCoarrays-1.9.3_GNU-%%GCC_VERSION%%/opencoarrays.mod:No such file or directory *** Error code 1 Any advice? Thanks Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111050.w0BAoHEn007137>