aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2006-05-13 03:48:37 +0800
committergerald <gerald@FreeBSD.org>2006-05-13 03:48:37 +0800
commit9314178c4aa1a2c2524663704085900776800f4e (patch)
treec668386e7a93fc408c0b1fe82320f161bcc4d1c6 /lang/gcc47
parentab8235ea98daf8f5431da9fd3114f01e2e82fa20 (diff)
downloadfreebsd-ports-gnome-9314178c4aa1a2c2524663704085900776800f4e.tar.gz
freebsd-ports-gnome-9314178c4aa1a2c2524663704085900776800f4e.tar.zst
freebsd-ports-gnome-9314178c4aa1a2c2524663704085900776800f4e.zip
Avoid hard-coding the GCC release series in the cklatest target.
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>