diff options
author | gerald <gerald@FreeBSD.org> | 2009-05-19 10:10:13 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2009-05-19 10:10:13 +0800 |
commit | c9b9e6a6f73022b093b6154db2c39942e7a895e1 (patch) | |
tree | 0a17380904f99bc13cfbd3fbef7e65eb6d28b20c /lang | |
parent | 7c976427c7f1f2506c87cf589720053a27f56c25 (diff) | |
download | freebsd-ports-gnome-c9b9e6a6f73022b093b6154db2c39942e7a895e1.tar.gz freebsd-ports-gnome-c9b9e6a6f73022b093b6154db2c39942e7a895e1.tar.zst freebsd-ports-gnome-c9b9e6a6f73022b093b6154db2c39942e7a895e1.zip |
Make the determination of SUFFIX more general and the one of
CONFIGURE_SCRIPT more robust.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc43/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 282f0778d7c1..e1ce4c1d4dd2 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/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> |