Ticket #64033: Portfile.patch
File Portfile.patch, 2.5 KB (added by bal-agates, 3 years ago) |
---|
-
Portfile
old new 5 5 6 6 name gdcm 7 7 version 3.0.5 8 revision 28 revision 3 9 9 categories science graphics 10 10 license BSD 11 11 maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer … … 20 20 sha256 9f1f32ba553ed5df0d9251427a824e4646d7d47dbdfb3afef0c9c3b5b677a2c4 \ 21 21 size 3862334 22 22 23 if {![variant_isset applications]} { 24 compiler.cxx_standard 2011 25 } else { 26 # poppler requires C++14 27 compiler.cxx_standard 2014 28 } 23 compiler.cxx_standard 2014 29 24 30 25 # fix error with newer Poppler 31 26 patchfiles-append patch-poppler.diff … … 41 36 port:socketxx \ 42 37 port:openjpeg \ 43 38 port:charls \ 44 port:vtk 39 port:ossp-uuid \ 40 port:vtk 45 41 46 42 configure.args-append -DGDCM_BUILD_SHARED_LIBS=ON \ 43 -DCMAKE_CXX_STANDARD=14 \ 44 -DGDCM_BUILD_EXAMPLES=OFF \ 45 -DGDCM_BUILD_TESTING=OFF \ 46 -DGDCM_DOCUMENTATION=OFF \ 47 -DGDCM_BUILD_DOCBOOK_MANPAGES=OFF \ 48 -DGDCM_WRAP_CSHARP=OFF \ 49 -DGDCM_WRAP_JAVA=OFF \ 50 -DGDCM_WRAP_PYTHON=OFF \ 51 -DOPJ_USE_DSYMUTIL=OFF \ 47 52 -DGDCM_USE_SYSTEM_ZLIB=ON \ 48 53 -DGDCM_USE_SYSTEM_OPENSSL=ON \ 49 54 -DGDCM_USE_SYSTEM_UUID=ON \ … … 54 59 -DGDCM_USE_SYSTEM_LJPEG=OFF \ 55 60 -DGDCM_USE_SYSTEM_OPENJPEG=ON \ 56 61 -DGDCM_USE_SYSTEM_CHARLS=ON \ 57 \ 58 -DGDCM_USE_VTK=ON 62 -DGDCM_USE_VTK=ON 59 63 60 64 variant applications description {build Application} { 61 65 PortGroup qt5 1.0 … … 63 67 port:libxml2 64 68 configure.args-append -DGDCM_BUILD_APPLICATIONS=ON \ 65 69 -DGDCM_USE_SYSTEM_POPPLER=ON \ 66 -DGDCM_USE_SYSTEM_LIBXML2=ON \ 67 -DCMAKE_CXX_STANDARD=14 70 -DGDCM_USE_SYSTEM_LIBXML2=ON 68 71 } 69 72 70 73 # installation seems to hang