/usr/ports/devel/perforce/Makefile needs to have version info filled in. The current Makefile contains the following lines: PORTNAME= perforce PORTVERSION= ${VERSION} PORTREVISION= ${REVISION} PORTEPOCH= 1 This causes a warning to be issued when doing a 'portsdb -u' and/or 'make index', as the first field of the resulting line in INDEX-5 is bogus: perforce-,1|/usr/ports/devel/perforce|/usr/local|Perforce client and server|/usr/ports/devel/perforce/pkg-descr|marshall@chezmarshall.com|devel|||http://www.perforce.com/ # portsdb -uf [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11065 port entries found .........1000.........2000..../usr/ports/INDEX-5:2446:perforce-,1: ,1: Not in due form: '<version>[_<revision>][,<epoch>]'. Fix: Maintainer should add correct version info to the port's Makefile. How-To-Repeat: Do a 'portsdb -u' and/or 'make index'.
I propose this patch to silence warning about malformed version string on unsupported architectures: Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/perforce/Makefile,v retrieving revision 1.30 diff -a -u -r1.30 Makefile --- Makefile 26 May 2004 16:24:27 -0000 1.30 +++ Makefile 16 Jun 2004 19:26:39 -0000 @@ -43,6 +43,7 @@ SBIN_FILES= p4d REL_NOTES= http://www.perforce.com/perforce/doc.991/user/relnotes.txt .else +VERSION= 0 IGNORE= "Unsupported platform, sorry." .endif Is maintainer fine with this? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Linux is a happy free-for-all chaos.
OK with me. Thank you for taking care of this. I don't know enough about other architectures to have realized that this was a problem. Have a nice day. --On Wednesday, June 16, 2004 21:28 +0200 Pav Lucistnik <pav@FreeBSD.org> wrote: > I propose this patch to silence warning about malformed version string > on unsupported architectures: > > Index: Makefile > =================================================================== > RCS file: /home/pcvs/ports/devel/perforce/Makefile,v > retrieving revision 1.30 > diff -a -u -r1.30 Makefile > --- Makefile 26 May 2004 16:24:27 -0000 1.30 > +++ Makefile 16 Jun 2004 19:26:39 -0000 > @@ -43,6 +43,7 @@ > SBIN_FILES= p4d > REL_NOTES= http://www.perforce.com/perforce/doc.991/user/relnotes.txt > .else > +VERSION= 0 > IGNORE= "Unsupported platform, sorry." > .endif > > Is maintainer fine with this? > > -- > Pav Lucistnik <pav@oook.cz> > <pav@FreeBSD.org> > > Linux is a happy free-for-all chaos.
State Changed From-To: open->closed Committed, thanks!