Remove forced clang34 dependency. The port builds on 10.3 (which has
the supposedly broken version) and 11.1 without this change. This removes the last use of clang34 in the ports tree.
This commit is contained in:
parent
abec31a6d3
commit
34099437fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452037
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= oolite
|
||||
PORTVERSION= 1.84
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= games gnustep
|
||||
MASTER_SITES= https://github.com/OoliteProject/oolite/releases/download/1.84/
|
||||
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
|
||||
@ -57,25 +57,6 @@ BROKEN_armv6= fails to compile: your compiler does not follow the C++ specifica
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${CC})
|
||||
CCVERSION!= ${CC} --version
|
||||
COMPILER_VERSION= ${CCVERSION:M[0-9].[0-9]*:C/([0-9]).?/\1/g}
|
||||
COMPILER_IS_CLANG= ${CCVERSION:Mclang}
|
||||
# Check for LLVM/Clang v3.4.1
|
||||
.if ${COMPILER_IS_CLANG} && ${COMPILER_VERSION} == 341
|
||||
# Use compiler from ports, because of errors
|
||||
# for ${WRKSRC}/src/Core/Scripting/OOJavaScriptEngine.m file
|
||||
WITH_PORTS_CLANG= yes
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PORTS_CLANG)
|
||||
BUILD_DEPENDS+= clang34:lang/clang34
|
||||
CC= ${LOCALBASE}/bin/clang34
|
||||
CXX= ${LOCALBASE}/bin/clang++34
|
||||
CPP= ${LOCALBASE}/bin/clang-cpp34
|
||||
.endif
|
||||
|
||||
post-patch: .SILENT
|
||||
${REINPLACE_CMD} -e 's/GNUSTEP_USER_ROOT/GNUSTEP_LOCAL_ROOT/ ; \
|
||||
s/sdl-config/$${SDL_CONFIG}/ ; \
|
||||
|
Loading…
Reference in New Issue
Block a user