ports/devel/trellis/files/patch-libtrellis_CMakeLists.txt
Emmanuel Vadot 372b4da401 devel/trellis: Add new port
Project trellis document the bitstream for Lattice ECP5 FPGAs.
Used with yosys and nextpnr it can create a full bitstream with only
open source tools.
2019-06-26 14:23:46 +00:00

11 lines
442 B
Text

--- libtrellis/CMakeLists.txt.orig 2019-06-03 10:33:16 UTC
+++ libtrellis/CMakeLists.txt
@@ -109,7 +109,7 @@ endif()
find_package(Boost REQUIRED COMPONENTS program_options)
get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
-if (NOT APPLE AND "${LIB64}" STREQUAL "TRUE")
+if (NOT APPLE AND "${LIB64}" STREQUAL "TRUE" AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "FreeBSD")
set(LIBDIR "lib64")
else()
set(LIBDIR "lib")