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