diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-10-30 15:18:05 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-10-30 15:18:05 +0000 |
commit | cbd73d6a9cf0a86ce7285b344b4dbdd7c0ef0226 (patch) | |
tree | 2e13893f328f272ee14b261c760e637643eece23 /lang/clang33 | |
parent | 75fbb099dccc287d6783be9b02df1876f6e43587 (diff) | |
download | ports-cbd73d6a9cf0a86ce7285b344b4dbdd7c0ef0226.tar.gz ports-cbd73d6a9cf0a86ce7285b344b4dbdd7c0ef0226.zip |
Notes
Diffstat (limited to 'lang/clang33')
-rw-r--r-- | lang/clang33/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/clang33/Makefile b/lang/clang33/Makefile index 53b3f7e93677..ac8fbd8a5c72 100644 --- a/lang/clang33/Makefile +++ b/lang/clang33/Makefile @@ -79,6 +79,17 @@ RELTYPE= Release BROKEN= Does not compile on sparc64 .endif +.if ${PORT_OPTIONS:MASSERTS} +pre-fetch: + @if [ "`llvm-config${LLVM_SUFFIX} --build-mode`" != ${RELTYPE} ]; then \ + ${ECHO_MSG} ;\ + ${ECHO_MSG} ASSERTS option enabled, but devel/llvm${LLVM_SUFFIX} was compiled without ASSERTS. ;\ + ${ECHO_MSG} Correct options mismatch to proceed. ;\ + ${ECHO_MSG} ;\ + false ;\ + fi +.endif + post-extract: ${RM} -f ${BUILD_WRKSRC} ${MV} ${WRKDIR}/${CLANG_NAME} ${BUILD_WRKSRC} |