View | Details | Raw Unified | Return to bug 216054
Collapse All | Expand All

(-)openshadinglanguage/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (imageworks-OpenShadingLanguage-Release-1.7.2_GH0.tar.gz) = 9c8b014248db24f1993fb7eb4b022a19a42ec7e81a6a28ade13c52be5941c85b
1
TIMESTAMP = 1478806482
2
SIZE (imageworks-OpenShadingLanguage-Release-1.7.2_GH0.tar.gz) = 13717762
2
SHA256 (imageworks-OpenShadingLanguage-Release-1.7.5_GH0.tar.gz) = 46226af0592297172e856635eac50327255f1a307244162c1feb47581e72a109
3
SIZE (imageworks-OpenShadingLanguage-Release-1.7.5_GH0.tar.gz) = 13739852
(-)openshadinglanguage/Makefile (-10 / +11 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	openshadinglanguage
4
PORTNAME=	openshadinglanguage
5
PORTVERSION=	1.7.2
5
PORTVERSION=	1.7.5
6
DISTVERSIONPREFIX=	Release-
6
DISTVERSIONPREFIX=	Release-
7
PORTREVISION=	2
8
CATEGORIES=	graphics devel
7
CATEGORIES=	graphics devel
9
8
10
MAINTAINER=	FreeBSD@Shaneware.biz
9
MAINTAINER=	FreeBSD@Shaneware.biz
Lines 12-20 Link Here
12
11
13
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
14
13
15
BUILD_DEPENDS=	llvm-config34:devel/llvm34 \
14
BUILD_DEPENDS=	llvm-config34:devel/llvm34
16
		clang34>=3.4_1:lang/clang34
17
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
15
LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
16
		libtinfo.so:devel/ncurses \
17
		libImath-2_2.so:graphics/ilmbase \
18
		libIlmImf.so:graphics/OpenEXR \
18
		libIlmImf.so:graphics/OpenEXR \
19
		libOpenImageIO.so:graphics/openimageio
19
		libOpenImageIO.so:graphics/openimageio
20
RUN_DEPENDS=	llvm-config34:devel/llvm34
20
RUN_DEPENDS=	llvm-config34:devel/llvm34
Lines 24-32 Link Here
24
GH_PROJECT=	OpenShadingLanguage
24
GH_PROJECT=	OpenShadingLanguage
25
25
26
CMAKE_ARGS=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34" \
26
CMAKE_ARGS=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34" \
27
		-DENABLERTTI:BOOL=ON
27
		-DENABLERTTI:BOOL=ON -DOSL_BUILD_CPP11:BOOL=OFF \
28
		-DOSL_BUILD_CPP14:BOOL=OFF
28
USE_LDCONFIG=	yes
29
USE_LDCONFIG=	yes
29
USES=		bison cmake:outsource compiler:c11
30
USES=		bison cmake:outsource
30
31
31
.include <bsd.port.options.mk>
32
.include <bsd.port.options.mk>
32
33
Lines 34-43 Link Here
34
USE_GCC=	yes
35
USE_GCC=	yes
35
.endif
36
.endif
36
37
37
.if ${OSVERSION} < 1000033
38
.if ${OSVERSION} > 1200000
38
BUILD_DEPENDS+=	flex>=2.5.37:textproc/flex
39
# llvm-as34 fails to build llvm_ops after clang 4 import
39
CMAKE_ARGS+=	-DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex
40
# disabling this option uses clang instead of llvm-as
40
CXXFLAGS+=	-I${LOCALBASE}/include/flex
41
CMAKE_ARGS+=  -DUSE_LLVM_BITCODE:BOOL=OFF
41
.endif
42
.endif
42
43
43
post-patch:
44
post-patch:

Return to bug 216054