Lines 15-21
Link Here
|
15 |
LIB_DEPENDS= libcxsparse.so:math/suitesparse \ |
15 |
LIB_DEPENDS= libcxsparse.so:math/suitesparse \ |
16 |
libQGLViewer-qt5.so:graphics/libQGLViewer |
16 |
libQGLViewer-qt5.so:graphics/libQGLViewer |
17 |
|
17 |
|
18 |
USES= cmake eigen:3 qt:5 |
18 |
USES= cmake compiler:c++11-lang gl eigen:3 qt:5 |
19 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
20 |
GH_ACCOUNT= RainerKuemmerle |
20 |
GH_ACCOUNT= RainerKuemmerle |
21 |
USE_GL= gl glu |
21 |
USE_GL= gl glu |
Lines 48-53
Link Here
|
48 |
SSE41_CMAKE_ON= -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON |
48 |
SSE41_CMAKE_ON= -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON |
49 |
SSE42_CMAKE_ON= -DDISABLE_SSE4_A:BOOL=ON |
49 |
SSE42_CMAKE_ON= -DDISABLE_SSE4_A:BOOL=ON |
50 |
|
50 |
|
|
|
51 |
.include <bsd.port.options.mk> |
52 |
|
53 |
.if ${ARCH} != amd64 && ${ARCH} != i386 |
54 |
CMAKE_ARGS+= -DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON |
55 |
.endif |
56 |
|
51 |
post-patch: |
57 |
post-patch: |
52 |
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ |
58 |
@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ |
53 |
${WRKSRC}/cmake_modules/*.cmake |
59 |
${WRKSRC}/cmake_modules/*.cmake |