mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
graphics/opencollada: Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
91b524c27a
commit
0b84b9ab39
@ -24,7 +24,4 @@ CFLAGS+= -Wno-narrowing
|
||||
CMAKE_ON= USE_LIBXML USE_SHARED USE_STATIC
|
||||
USE_LDCONFIG= ${PREFIX}/lib/opencollada
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
graphics/opencollada/files/patch-CMakeLists.txt
Normal file
11
graphics/opencollada/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2018-11-26 22:43:10 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -192,7 +192,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNINGS
|
||||
|
||||
set(OPENCOLLADA_INST_INCLUDE ${CMAKE_INSTALL_PREFIX}/include/opencollada)
|
||||
set(OPENCOLLADA_INST_LIBRARY ${CMAKE_INSTALL_PREFIX}/lib/opencollada)
|
||||
-set(OPENCOLLADA_INST_CMAKECONFIG ${OPENCOLLADA_INST_LIBRARY}/cmake)
|
||||
+set(OPENCOLLADA_INST_CMAKECONFIG ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules)
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user