diff options
author | gerald <gerald@FreeBSD.org> | 2009-05-19 20:31:05 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2009-05-19 20:31:05 +0800 |
commit | b165c4548f3d982b986103bf99726b7464eaaf43 (patch) | |
tree | 6b381cd4d2742f2a481238e5351cdcd1f72a5e33 /lang/gcc47 | |
parent | df933170a928aa01cb24828c8d500f56cd2db387 (diff) | |
download | freebsd-ports-gnome-b165c4548f3d982b986103bf99726b7464eaaf43.tar.gz freebsd-ports-gnome-b165c4548f3d982b986103bf99726b7464eaaf43.tar.zst freebsd-ports-gnome-b165c4548f3d982b986103bf99726b7464eaaf43.zip |
Make the determination of SUFFIX more general and the one of
CONFIGURE_SCRIPT more robust.
Diffstat (limited to 'lang/gcc47')
-rw-r--r-- | lang/gcc47/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index d1cb6af845f4..4e3c8b147478 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -29,7 +29,7 @@ DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX} BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif -SUFFIX= ${PORTVERSION:C/([0-9]).([0-9]).*/\1\2/} +SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX} NOT_FOR_ARCHS= alpha ia64 powerpc USE_BISON= build @@ -41,7 +41,7 @@ MAKE_JOBS_SAFE= yes WANT_GNOME= yes PATCH_WRKSRC= ${SRCDIR} -CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure +CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure .include <bsd.port.pre.mk> |