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

Collapse All | Expand All

(-)openimageio/Makefile (-2 / +9 lines)
Lines 20-26 Link Here
20
# fbm also installs bin/idiff
20
# fbm also installs bin/idiff
21
CONFLICTS=	fbm-[0-9]*
21
CONFLICTS=	fbm-[0-9]*
22
22
23
USES=		cmake:outsource
23
USES=		cmake:outsource compiler
24
CMAKE_ARGS=	-DBUILDSTATIC:BOOL=OFF \
24
CMAKE_ARGS=	-DBUILDSTATIC:BOOL=OFF \
25
		-DLINKSTATIC:BOOL=OFF \
25
		-DLINKSTATIC:BOOL=OFF \
26
		-DNOTHREADS:BOOL=OFF \
26
		-DNOTHREADS:BOOL=OFF \
Lines 71-76 Link Here
71
CMAKE_ARGS+=	-DUSE_OPENGL:BOOL=OFF -DUSE_QT:BOOL=OFF
71
CMAKE_ARGS+=	-DUSE_OPENGL:BOOL=OFF -DUSE_QT:BOOL=OFF
72
.endif
72
.endif
73
73
74
.include <bsd.port.pre.mk>
75
76
.if ${COMPILER_TYPE} == gcc
77
# gcc 4.2 does not link with other ports that now use gcc4.9
78
USE_GCC=	yes
79
.endif
80
74
post-patch:
81
post-patch:
75
	@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
82
	@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
76
		${WRKSRC}/CMakeLists.txt
83
		${WRKSRC}/CMakeLists.txt
Lines 81-84 Link Here
81
	${LN} -sf libOpenImageIO_Util.so.1.4 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1
88
	${LN} -sf libOpenImageIO_Util.so.1.4 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1
82
.endif
89
.endif
83
90
84
.include <bsd.port.mk>
91
.include <bsd.port.post.mk>
(-)opencolorio/Makefile (-3 / +7 lines)
Lines 21-27 Link Here
21
21
22
LDFLAGS+=	-L${LOCALBASE}/lib
22
LDFLAGS+=	-L${LOCALBASE}/lib
23
PLIST=		${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
23
PLIST=		${PKGDIR}/pkg-plist${PKGNAMESUFFIX}
24
USES=		alias cmake:outsource pkgconfig
24
USES=		alias cmake:outsource pkgconfig compiler
25
CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
25
CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
26
		-DOCIO_BUILD_NUKE:BOOL=OFF \
26
		-DOCIO_BUILD_NUKE:BOOL=OFF \
27
		-DOCIO_BUILD_STATIC:BOOL=OFF \
27
		-DOCIO_BUILD_STATIC:BOOL=OFF \
Lines 34-40 Link Here
34
CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
34
CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
35
.endif
35
.endif
36
36
37
.include <bsd.port.options.mk>
37
.include <bsd.port.pre.mk>
38
38
39
.if ${SLAVE_PORT} == no
39
.if ${SLAVE_PORT} == no
40
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
40
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python
Lines 52-57 Link Here
52
CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON \
52
CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON \
53
		-DOCIO_BUILD_SHARED:BOOL=OFF \
53
		-DOCIO_BUILD_SHARED:BOOL=OFF \
54
		-DOCIO_BUILD_PYGLUE:BOOL=OFF
54
		-DOCIO_BUILD_PYGLUE:BOOL=OFF
55
.if ${COMPILER_TYPE} == gcc
56
# gcc 4.2 does not link with oiio that now uses gcc4.9
57
USE_GCC=	yes
58
.endif
55
.endif
59
.endif
56
60
57
.if ${PORT_OPTIONS:MDOCS}
61
.if ${PORT_OPTIONS:MDOCS}
Lines 69-72 Link Here
69
		${REINPLACE_CMD} '/namespace OIIO/d'
73
		${REINPLACE_CMD} '/namespace OIIO/d'
70
.endif
74
.endif
71
75
72
.include <bsd.port.mk>
76
.include <bsd.port.post.mk>
(-)openshadinglanguage/Makefile (-3 / +8 lines)
Lines 25-33 Link Here
25
25
26
CMAKE_ARGS=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34"
26
CMAKE_ARGS=	-DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config34"
27
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
28
USES=		bison cmake:outsource
28
USES=		bison cmake:outsource compiler
29
29
30
.include <bsd.port.options.mk>
30
.include <bsd.port.pre.mk>
31
32
.if ${COMPILER_TYPE} == gcc
33
# gcc 4.2 does not link with other ports that now use gcc4.9
34
USE_GCC=	yes
35
.endif
31
36
32
.if ${OSVERSION} < 1000033
37
.if ${OSVERSION} < 1000033
33
BUILD_DEPENDS+=	flex>=2.5.37:${PORTSDIR}/textproc/flex
38
BUILD_DEPENDS+=	flex>=2.5.37:${PORTSDIR}/textproc/flex
Lines 45-48 Link Here
45
	${LN} -s lib${LNAME}.so.1 ${STAGEDIR}${PREFIX}/lib/lib${LNAME}.so
52
	${LN} -s lib${LNAME}.so.1 ${STAGEDIR}${PREFIX}/lib/lib${LNAME}.so
46
.endfor
53
.endfor
47
54
48
.include <bsd.port.mk>
55
.include <bsd.port.post.mk>

Return to bug 197907