aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-06-13 03:03:41 +0800
committerbrooks <brooks@FreeBSD.org>2013-06-13 03:03:41 +0800
commit32b087464c0275dac1fd4abdbf74793f2b586bee (patch)
tree08fe7149d35cbe845bb9fb218ef4b99137c64faa /lang
parentdc6a31aac0b3188aac77301dea36f024ffc8994d (diff)
downloadfreebsd-ports-gnome-32b087464c0275dac1fd4abdbf74793f2b586bee.tar.gz
freebsd-ports-gnome-32b087464c0275dac1fd4abdbf74793f2b586bee.tar.zst
freebsd-ports-gnome-32b087464c0275dac1fd4abdbf74793f2b586bee.zip
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
Diffstat (limited to 'lang')
-rw-r--r--lang/clang33/Makefile17
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 \