aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc40/Makefile')
-rw-r--r--lang/gcc40/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 0361ff8e3f1d..c58acc6c668d 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -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>