diff options
author | brooks <brooks@FreeBSD.org> | 2008-11-17 03:43:07 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2008-11-17 03:43:07 +0800 |
commit | 59411a667799f8423438acbc577b36d4f7331a1d (patch) | |
tree | e7f0068e8d195a955942db552856d891b1a9eda8 /devel/llvm/Makefile | |
parent | 4dac5dc0946540f257ea93a29224f290ae38ee15 (diff) | |
download | freebsd-ports-gnome-59411a667799f8423438acbc577b36d4f7331a1d.tar.gz freebsd-ports-gnome-59411a667799f8423438acbc577b36d4f7331a1d.tar.zst freebsd-ports-gnome-59411a667799f8423438acbc577b36d4f7331a1d.zip |
Upgrade llvm and llvm-gcc4 ports to the 2.4 release.
PR: ports/128806, ports/128814
Diffstat (limited to 'devel/llvm/Makefile')
-rw-r--r-- | devel/llvm/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/devel/llvm/Makefile b/devel/llvm/Makefile index 39be08e60eae..aa36c55a4f89 100644 --- a/devel/llvm/Makefile +++ b/devel/llvm/Makefile @@ -6,8 +6,7 @@ # PORTNAME= llvm -PORTVERSION= 2.3 -PORTREVISION= 2 +PORTVERSION= 2.4 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} @@ -42,7 +41,9 @@ MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \ llvm-dis.1 llvm-extract.1 llvm-ld.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-ranlib.1 llvmgcc.1 \ - llvmgxx.1 opt.1 stkrc.1 tblgen.1 + llvmgxx.1 opt.1 tblgen.1 + +.include <bsd.port.pre.mk> post-patch: ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ @@ -62,7 +63,13 @@ post-install: @${RM} ${PREFIX}/bin/.dir \ ${PREFIX}/lib/.dir -regression-test: build - (cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check) +TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)' +regression-test: ${BUILD_COOKIE} + 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> +.include <bsd.port.post.mk> |