Make the determination of SUFFIX more general and the one of
CONFIGURE_SCRIPT more robust.
This commit is contained in:
parent
3bb9ab0da0
commit
290cdcd62c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234183
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue