This first happened in January when I chased PORTREVISIONs for
all ports with USE_FORTRAN=yes. I reported it by mail back then,
yet just ran into this again so I had a look into the actual code.
The problem is that for a port with PORTREVISION?=n,
bump_revision.pl will not bump n to n+1, but reset to 1.
The bug is in extracting the version number properly, and it
seems the one line patch below fixes it.
Is this okay to commit?
How-To-Repeat: I tested the patch both on math/fftw and lang/gcc34 to cover
Patch looks fine, go for it.
(ports/Tools/scripts is a free area)
gerald 2009-09-15 09:34:08 UTC
FreeBSD ports repository
Correctly bump PORTREVISION?= instead of always resetting to 1 in this case.
Approved by: edwin
Revision Changes Path
1.5 +2 -2 ports/Tools/scripts/bump_revision.pl
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
I applied the patch; thanks for the review.