Index: head/science/InsightToolkit/Makefile =================================================================== --- head/science/InsightToolkit/Makefile (revision 457665) +++ head/science/InsightToolkit/Makefile (revision 457666) @@ -1,46 +1,47 @@ # Created by: bacon@smithers.neuro.mcw.edu # $FreeBSD$ PORTNAME= InsightToolkit PORTVERSION= 4.13.0 +PORTREVISION= 1 CATEGORIES= science biology MASTER_SITES= SF/itk/itk/${ITK_VER} MAINTAINER= woodsb02@FreeBSD.org COMMENT= Insight Toolkit LICENSE= APACHE20 BUILD_DEPENDS= googletest>=0:devel/googletest LIB_DEPENDS= libgdcmCommon.so:devel/gdcm \ libexpat.so:textproc/expat2 \ libfftw.so:math/fftw \ libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libsz.so:science/szip \ libtiff.so:graphics/tiff USES= cmake:outsource jpeg CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \ -DITK_USE_KWSTYLE:BOOL=OFF \ -DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \ -DITK_USE_SYSTEM_EXPAT:BOOL=ON \ -DITK_USE_SYSTEM_FFTW:BOOL=ON \ -DITK_USE_SYSTEM_GDCM:BOOL=ON \ -DITK_USE_SYSTEM_HDF5:BOOL=ON \ -DITK_USE_SYSTEM_JPEG:BOOL=ON \ -DITK_USE_SYSTEM_PNG:BOOL=ON \ -DITK_USE_SYSTEM_TIFF:BOOL=ON \ -DITK_USE_SYSTEM_ZLIB:BOOL=ON USE_LDCONFIG= ${PREFIX}/lib/InsightToolkit ITK_VER= ${PORTVERSION:R} PLIST_SUB+= ITK_VER=${ITK_VER} OPTIONS_DEFINE= EXAMPLES TESTING EXAMPLES_DESC= Build examples (very time consuming) TESTING_DESC= Build testing programs (very time consuming) EXAMPLES_CMAKE_ON= -DBUILD_EXAMPLES:BOOL=ON TESTING_CMAKE_ON= -DBUILD_TESTING:BOOL=ON .include Index: head/science/InsightToolkit/files/patch-Modules_ThirdParty_MINC_src_libminc_CMakeLists.txt =================================================================== --- head/science/InsightToolkit/files/patch-Modules_ThirdParty_MINC_src_libminc_CMakeLists.txt (nonexistent) +++ head/science/InsightToolkit/files/patch-Modules_ThirdParty_MINC_src_libminc_CMakeLists.txt (revision 457666) @@ -0,0 +1,27 @@ +--- Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt.orig 2017-12-29 06:00:13 UTC ++++ Modules/ThirdParty/MINC/src/libminc/CMakeLists.txt +@@ -387,8 +387,8 @@ SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARY} ${HDF5_LIBRAR + SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARIES} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY}) + + IF(UNIX) +- SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m dl ${RT_LIBRARY}) +- SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m dl ${RT_LIBRARY}) ++ SET(LIBMINC_LIBRARIES ${LIBMINC_LIBRARIES} m ${RT_LIBRARY}) ++ SET(LIBMINC_STATIC_LIBRARIES ${LIBMINC_STATIC_LIBRARIES} m ${RT_LIBRARY}) + ENDIF(UNIX) + + SET(minc_LIB_SRCS ${minc2_LIB_SRCS} ${minc_common_SRCS}) +@@ -425,11 +425,11 @@ ENDIF(NOT LIBMINC_USE_SYSTEM_NIFTI AND NOT LIBMINC_EX + #EXPORT(TARGETS ${LIBMINC_LIBRARY} FILE "${LIBMINC_EXPORTED_TARGETS}.cmake") + + IF(UNIX) +- TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m dl ) ++ TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} m ) + + IF(LIBMINC_BUILD_SHARED_LIBS) + ADD_LIBRARY(${LIBMINC_LIBRARY_STATIC} STATIC ${minc_LIB_SRCS} ${minc_HEADERS} ${volume_io_LIB_SRCS} ${volume_io_HEADERS} ) +- TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m dl ) ++ TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY_STATIC} ${HDF5_LIBRARY} ${NIFTI_LIBRARIES} ${ZLIB_LIBRARY} ${RT_LIBRARY} m ) + IF(LIBMINC_MINC1_SUPPORT) + TARGET_LINK_LIBRARIES(${LIBMINC_LIBRARY} ${NETCDF_LIBRARY}) + ENDIF(LIBMINC_MINC1_SUPPORT) Property changes on: head/science/InsightToolkit/files/patch-Modules_ThirdParty_MINC_src_libminc_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property