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> |