freebsd-ports/math/freemat/files/patch-CMakeLists.txt
Tijl Coosemans e005d5e551 - Update math/freemat to version 4.2 and clean up the port.
- Support JIT compilation using Clang/LLVM 3.3.
- Add desktop entry.
- Remove math/freemat-mpi.  It has been marked IGNORE for almost 7 years
  since the removal of MPI support in FreeMat 3.0.
2013-12-24 10:37:31 +00:00

21 lines
868 B
Plaintext

--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -204,7 +204,7 @@
FIND_PACKAGE(PORTAUDIO)
if (PORTAUDIO_FOUND)
- ADD_DEFINITIONS(-DHAVE_PORTAUDIO19)
+ ADD_DEFINITIONS(-DHAVE_PORTAUDIO18)
SET(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${PORTAUDIO_LIBS})
INCLUDE_DIRECTORIES(${PORTAUDIO_INCLUDE})
endif()
@@ -257,7 +257,7 @@
add_definitions(-DHAVE_LLVM)
include_directories(${LLVM_INCLUDE_DIRS})
link_directories(${LLVM_LIBRARY_DIRS})
- llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit interpreter nativecodegen asmparser bitreader bitwriter codegen ipo linker selectiondag instrumentation)
+ llvm_map_components_to_libraries(REQ_LLVM_LIBRARIES jit interpreter nativecodegen asmparser bitreader bitwriter codegen ipo linker selectiondag instrumentation irreader)
set(OPTIONAL_LIBS ${OPTIONAL_LIBS} ${CLANG_LIBRARIES} ${REQ_LLVM_LIBRARIES})
ENDIF()