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 (-2 / +9 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 60-65 Link Here
60
CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
60
CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
61
.endif
61
.endif
62
62
63
.include <bsd.port.pre.mk>
64
65
.if ${COMPILER_TYPE} == gcc && ${SLAVE_PORT} == yes
66
# gcc 4.2 does not link with oiio that now uses gcc4.9
67
USE_GCC=	yes
68
.endif
69
63
post-patch:
70
post-patch:
64
	@${REINPLACE_CMD} -e '/pkg_check_modules/ s|yaml-cpp|&03|' \
71
	@${REINPLACE_CMD} -e '/pkg_check_modules/ s|yaml-cpp|&03|' \
65
		${WRKSRC}/CMakeLists.txt
72
		${WRKSRC}/CMakeLists.txt
Lines 69-72 Link Here
69
		${REINPLACE_CMD} '/namespace OIIO/d'
76
		${REINPLACE_CMD} '/namespace OIIO/d'
70
.endif
77
.endif
71
78
72
.include <bsd.port.mk>
79
.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