Date: Thu, 11 Jan 2018 12:44:26 +0100 From: Tijl Coosemans <tijl@FreeBSD.org> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: fortran@freebsd.org, gerald@FreeBSD.org Subject: Re: help with GCC_VER GCC_VERSION Message-ID: <20180111124426.217a425f@kalimero.tijl.coosemans.org> In-Reply-To: <201801111050.w0BAoHEn007137@mech-as222.men.bris.ac.uk> References: <201801111050.w0BAoHEn007137@mech-as222.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Jan 2018 10:50:17 GMT Anton Shterenlikht <mexas@bristol.ac.uk> wrote: > 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? They've always used the full version, but we patched that in the post-patch target in the port Makefile. You probably need to tweak that command for the new version.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180111124426.217a425f>