Avoid hard-coding the GCC release series in the cklatest target.
This commit is contained in:
parent
6d01da656b
commit
b6acded77e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162196
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -129,7 +129,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.0'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -182,7 +182,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.1'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -190,7 +190,7 @@ post-install:
|
||||
|
||||
cklatest:
|
||||
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/
|
||||
@-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.2'
|
||||
@-ncftpls -l ${SITE} | ${GREP} "LATEST.*${PORTVERSION:C/.[0-9]+$//}"
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user