View | Details | Raw Unified | Return to bug 250990 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/blender/Makefile (-1 / +8 lines)
Lines 51-57 Link Here
51
.endif
51
.endif
52
52
53
PLIST_SUB+=	VER=${DISTVERSION:R}
53
PLIST_SUB+=	VER=${DISTVERSION:R}
54
LLVM_VER=	90
55
OPTIONS_SUB=	yes
54
OPTIONS_SUB=	yes
56
55
57
.include "${.CURDIR}/Makefile.options"
56
.include "${.CURDIR}/Makefile.options"
Lines 162-167 Link Here
162
161
163
.if defined(WITH_DEBUG)
162
.if defined(WITH_DEBUG)
164
CMAKE_ARGS+=		-DWITH_GHOST_DEBUG:BOOL=ON
163
CMAKE_ARGS+=		-DWITH_GHOST_DEBUG:BOOL=ON
164
.endif
165
166
.include <bsd.port.options.mk>
167
168
.if ${LLVM_DEFAULT:M[678]0}
169
LLVM_VER=	90
170
.else
171
LLVM_VER=	${LLVM_DEFAULT}
165
.endif
172
.endif
166
173
167
post-patch-OPENCOLORIO-on:
174
post-patch-OPENCOLORIO-on:
(-)graphics/openshadinglanguage/Makefile (-2 / +7 lines)
Lines 33-43 Link Here
33
LDFLAGS+=	-fuse-ld=lld
33
LDFLAGS+=	-fuse-ld=lld
34
.endif
34
.endif
35
35
36
LLVM_VER=	90
37
CMAKE_ON=	ENABLERTTI OSL_BUILD_TESTS USE_LLVM_BITCODE USE_LIBCPLUSPLUS
36
CMAKE_ON=	ENABLERTTI OSL_BUILD_TESTS USE_LLVM_BITCODE USE_LIBCPLUSPLUS
38
CMAKE_OFF=	USE_BOOST_WAVE
37
CMAKE_OFF=	USE_BOOST_WAVE
39
CMAKE_ARGS+=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \
38
CMAKE_ARGS+=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VER}" \
40
		-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR}
39
		-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} -DCMAKE_CXX_STANDARD=14
41
# This flag fixes linking with clang 9.0 ??
40
# This flag fixes linking with clang 9.0 ??
42
CXXFLAGS+=	-DNDEBUG
41
CXXFLAGS+=	-DNDEBUG
43
42
Lines 59-64 Link Here
59
# DISTVERSION has an extra digit which isn't in the lib name
58
# DISTVERSION has an extra digit which isn't in the lib name
60
# for LIBVERS we want the first three digits
59
# for LIBVERS we want the first three digits
61
PLIST_SUB+=	LIBVERS=${DISTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)(.*)/\1.\2.\3/}
60
PLIST_SUB+=	LIBVERS=${DISTVERSION:C/([0-9]*)\.([0-9]*)\.([0-9]*)(.*)/\1.\2.\3/}
62
61
63
.include <bsd.port.options.mk>
62
.include <bsd.port.options.mk>
63
64
.if ${LLVM_DEFAULT:M[678]0}
65
LLVM_VER=	90
66
.else
67
LLVM_VER=	${LLVM_DEFAULT}
68
.endif
64
69
65
post-patch:
70
post-patch:
66
	@${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \
71
	@${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \

Return to bug 250990