Ports with version numbers going backwards: lang/icc
Oliver Eikemeier
eikemeier at fillmore-labs.com
Thu Jun 3 10:23:33 GMT 2004
Alexander Leidinger wrote:
> I'm alittle bit surprised. AFAIR I tested this naming scheme with
> portupgrade several times at the time we started to use it. I haven't
> tested this particular update with portupgrade though.
AFAICS this stems from a bug in your version mangling. Portupgrade
already choked on the downgrade to 8.0.058.p059 (30 Jan 2004).
> Any suggestion how to handle this?
Try
Index: lang/icc/Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/icc/Makefile,v
retrieving revision 1.69
diff -u -r1.69 Makefile
--- lang/icc/Makefile 2 Jun 2004 17:04:54 -0000 1.69
+++ lang/icc/Makefile 3 Jun 2004 10:09:56 -0000
@@ -6,15 +6,15 @@
#
PORTNAME= icc
-PORTVERSION= 8.0.066.p067.1
+PORTVERSION= 8.0.066.0p067.1
CATEGORIES= lang linux devel
MASTER_SITES=
-DISTNAME= l_cc_pc_${PORTVERSION:C/\.p.+$//}
+DISTNAME= l_cc_pc_${PORTVERSION:C/\.0p.+$//}
MAINTAINER= netchild at FreeBSD.org
COMMENT= Intels C/C++ compiler, set up to produce native FreeBSD binaries
-PATCHLEVEL= ${PORTVERSION:C/(.+p)(.+)$/pe\2/}
+PATCHLEVEL= ${PORTVERSION:C/(.+0p)(.+)$/pe\2/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
.if ${PORTVERSION} != ${PATCHLEVEL}
DISTFILES+= ${DISTNAME}_${PATCHLEVEL}${EXTRACT_SUFX}
or bump PORTEPOCH if this doesn't help.
More information about the freebsd-ports
mailing list