summaryrefslogtreecommitdiff
path: root/lang/gcc41
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc41')
-rw-r--r--lang/gcc41/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile
index 8c3c35db8628..5fd2288b31e2 100644
--- a/lang/gcc41/Makefile
+++ b/lang/gcc41/Makefile
@@ -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>