distfile version number

Joshua Root jmr at macports.org
Fri Nov 9 06:01:49 UTC 2018


On 2018-11-9 07:08 , Mark Brethen wrote:
> I have a source file named  'cgx_2.14.all.tar.bz2’ that extracts to the following directories:
> 
> brethen-air:CalculiX marbre$ ls -al
> total 0
> drwxr-xr-x  5 macports  admin  170 Nov  8 13:42 .
> drwxr-xr-x  6 macports  admin  204 Nov  8 13:42 ..
> drwxr-xr-x  9 macports  admin  306 May 29 14:15 cgx_2.14.1
> drwxr-xr-x  5 macports  admin  170 Jul 30  2015 glut-3.5
> drwxr-xr-x  6 macports  admin  204 Jul 30  2015 libSNL
> 
> worksrcdir  is set to ‘CalculiX’
> 
> I have the version set to 2.14 but this causes patch, config, build, etc. to fail since it can’t find cgx_2.14. If I change the version to 2.14.1 then macports will fail to fetch the distfile. What’s the best way to handle this?

If the correct version is 2.14.1 then:

version		2.14.1
distname	${name}_2.14.all

- Josh


More information about the macports-dev mailing list