diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 19:03:41 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-06-12 19:03:41 +0000 |
commit | f8fed570a8ed2c51610c4ee30a7960dad749dc7c (patch) | |
tree | 08fe7149d35cbe845bb9fb218ef4b99137c64faa /lang/clang33 | |
parent | Add a file that was missed when working around svn cp + post commit hook (diff) |
Fix up depends so we depend on llvm33 and look for the llc33 binary to
identify it rather than port versions.
Remove the broken and obviously unused regression-test target along with
the obsolute dependency on dejagnu.
Reported by: decke
Notes
Notes:
svn path=/head/; revision=320715
Diffstat (limited to 'lang/clang33')
-rw-r--r-- | lang/clang33/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index bfa651c8758d..7ff62f943808 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -2,6 +2,7 @@ PORTNAME= clang DISTVERSION= 3.3rc3 +PORTREVISION= 1 CATEGORIES= lang devel MASTER_SITES= http://llvm.org/pre-releases/3.3/rc3/ DISTNAME= cfe-source-${DISTVERSION} @@ -20,11 +21,8 @@ WRKSRC= ${WRKDIR}/${LLVM_NAME} BUILD_WRKSRC= ${WRKSRC}/tools/clang INSTALL_WRKSRC= ${WRKSRC}/tools/clang -BUILD_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm -RUN_DEPENDS+= llvm>=${PORTVERSION}:${PORTSDIR}/devel/llvm -.if defined(PACKAGE_BUILDING) -BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu -.endif +BUILD_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX} +RUN_DEPENDS+= llc${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX} LLVM_SUFFIX= 33 LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} @@ -123,15 +121,6 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \ ${MANPREFIX}/man/man1/clang${LLVM_SUFFIX}.1 -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 - PLIST_FILE_LIST= ${COMMANDS:S|^|bin/|} \ lib/libclang* PLIST_DIR_LIST= include/clang \ |