Rename target check to regression-test [1], remove the post-build target
and its note on testing, add a conditional dependency on misc/dejagnu [1] and make the inclusion of gcc-testsuite in DISTFILES conditional, too. PR: 131185 Submitted by: Pedro F. Giffuni <giffunip@tutopia.com>
This commit is contained in:
parent
46442c306e
commit
83a724cc08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227370
@ -16,8 +16,7 @@ MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
|
||||
DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
|
||||
gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= gerald@FreeBSD.org
|
||||
COMMENT= GNU Compiler Collection 4.3
|
||||
@ -25,6 +24,11 @@ COMMENT= GNU Compiler Collection 4.3
|
||||
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \
|
||||
mpfr.3:${PORTSDIR}/math/mpfr
|
||||
|
||||
.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE)
|
||||
DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
|
||||
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
|
||||
.endif
|
||||
|
||||
SUFFIX= 43
|
||||
LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
|
||||
NOT_FOR_ARCHS= alpha ia64 powerpc
|
||||
@ -155,12 +159,7 @@ pre-configure:
|
||||
@${RM} -f ${SRCDIR}/gcc/*/*.info*
|
||||
@${MKDIR} ${CONFIGURE_WRKSRC}
|
||||
|
||||
post-build:
|
||||
@${ECHO_MSG} "Consider running 'make check' before 'make install', especially"
|
||||
@${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT."
|
||||
@${ECHO_MSG} "This assumes that you have the dejagnu port installed."
|
||||
|
||||
check: build
|
||||
regression-test: build
|
||||
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user