1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Update to a new 8/19 snapshot that passes the regression tests.

"Fix" the regression tests by running them as nobody if the regression-test
target is run by root.  Remove the .if defined(MAINTAINER_MODE) guards so
the package cluster will run the tests (they pass correctly on i386).
This commit is contained in:
Brooks Davis 2008-08-21 14:54:22 +00:00
parent 640c6d6f8e
commit 6833d82797
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218957
2 changed files with 11 additions and 7 deletions

View File

@ -25,7 +25,7 @@ BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c
.if defined(BOOTSTRAP)
SVN_SNAPDATE!= date -v-1d +%Y-%m-%d
.else
SVN_SNAPDATE= 2008-08-17
SVN_SNAPDATE= 2008-08-19
.endif
SNAPDATE= ${SVN_SNAPDATE:S/-//g}
@ -81,9 +81,13 @@ post-install:
@${RM} ${PREFIX}/bin/.dir \
${PREFIX}/lib/.dir
.if defined(MAINTAINER_MODE)
TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)'
regression-test: ${BUILD_COOKIE}
(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)
.endif
if [ `${ID} -u` = 0 ]; then \
${CHOWN} -R nobody ${WRKSRC}/test; \
su -m nobody -c ${TEST_CMD}; \
else \
${SH} -c ${TEST_CMD}; \
fi
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (llvm-2.4.snap20080817.tar.bz2) = d139c92cefb1f4a273a7860047f69f44
SHA256 (llvm-2.4.snap20080817.tar.bz2) = 8b74597f76b82a559be5fb250ece965f5e08066686294382837ed8667871ca44
SIZE (llvm-2.4.snap20080817.tar.bz2) = 6018126
MD5 (llvm-2.4.snap20080819.tar.bz2) = 85dc06de904b487432e388aa9863cbe2
SHA256 (llvm-2.4.snap20080819.tar.bz2) = 451f6fb4feef716fc780f4f299afbd637e17b05f6592847f626912377a564b2b
SIZE (llvm-2.4.snap20080819.tar.bz2) = 6023479