summaryrefslogtreecommitdiff
path: root/lang/gcc47
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2006-05-12 19:48:37 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2006-05-12 19:48:37 +0000
commitb6acded77e02847da2351037ab39467dab5b5d77 (patch)
treee0d2962d0c589498891f028ed2b73fd4c3bf062a /lang/gcc47
parentUpdate to 2.14.6. (diff)
Avoid hard-coding the GCC release series in the cklatest target.
Notes
Notes: svn path=/head/; revision=162196
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 35357077055f..434fc08a96d7 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/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>