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

Collapse All | Expand All

(-)Makefile (-9 / +2 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 compiler
23
USES=		cmake:outsource
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-83 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 GCC 4.9 or later.
78
USE_GCC=	yes
79
.endif
80
81
post-patch:
74
post-patch:
82
	@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
75
	@${REINPLACE_CMD} -e 's|share/doc/OpenImageIO|${DOCSDIR}|g' \
83
		${WRKSRC}/CMakeLists.txt
76
		${WRKSRC}/CMakeLists.txt
Lines 88-91 Link Here
88
	${LN} -sf libOpenImageIO_Util.so.1.4 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1
81
	${LN} -sf libOpenImageIO_Util.so.1.4 ${STAGEDIR}${PREFIX}/lib/libOpenImageIO_Util.so.1
89
.endif
82
.endif
90
83
91
.include <bsd.port.post.mk>
84
.include <bsd.port.mk>

Return to bug 197907