svn commit: r394390 - in head/lang/mono: . files
Romain Tartière
romain at blogreen.org
Sun Aug 16 09:14:07 UTC 2015
On Sun, Aug 16, 2015 at 08:05:47AM +0000, Alexey Dokuchaev wrote:
> On Sun, Aug 16, 2015 at 06:54:47AM +0000, Romain Tartiц╗re wrote:
> > New Revision: 394390
> > URL: https://svnweb.freebsd.org/changeset/ports/394390
> >
> > Log:
> > Update to 4.0.3.20.
> >[...]
> > PORTNAME= mono
> > -PORTVERSION= 4.0.1.28
> > +PORTVERSION= 4.0.3.20
> > CATEGORIES= lang
> > [...]
> > -WRKSRC= ${WRKDIR}/mono-4.0.1
> > +WRKSRC= ${WRKDIR}/mono-4.0.3
>
> You could've used ${PORTVERSION:R} instead of literal 4.0.3, it would allow
> you not to touch this line on subsequent updates.
The problem is that upstream is quite inconsistent and started to use 3
or 4 groups of number as the version number for the archive while the
directory name only has 3 groups of digits.
distfile -> directory
4.0.0 -> mono-4.0.0
4.0.1 -> mono-4.0.1
4.0.1.28 -> mono-4.0.1
4.0.1.34 -> mono-4.0.1
4.0.1.43 -> mono-4.0.1
4.0.1.44 -> mono-4.0.1
4.0.2.4 -> mono-4.0.2
4.0.2.5 -> mono-4.0.2
4.0.3.13 -> mono-4.0.3
4.0.3.19 -> mono-4.0.3
4.0.3.20 -> mono-4.0.3
I'm not sure about a future '4.0.4' without the fourth part which needs
no adjustment. Any generic solution here would be really cute!
> Also note that WRKSRC is badly indetented (missing one more tab) and
> misplaced in the Makefile (it should appear lower below; not sure why
> portlint(1) didn't whine about this).
Oops! Fixed.
--
Romain Tartière <romain at blogreen.org> http://romain.blogreen.org/
pgp: 8234 9A78 E7C0 B807 0B59 80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 630 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150816/45afeecd/attachment.bin>
More information about the svn-ports-all
mailing list