svn commit: r486662 - head/devel/gdcm

Rene Ladan rene at FreeBSD.org
Wed Dec 5 10:03:32 UTC 2018


Author: rene
Date: Wed Dec  5 10:03:31 2018
New Revision: 486662
URL: https://svnweb.freebsd.org/changeset/ports/486662

Log:
  devel/gdcm: remove optional support on expired math/vtk5

Modified:
  head/devel/gdcm/Makefile

Modified: head/devel/gdcm/Makefile
==============================================================================
--- head/devel/gdcm/Makefile	Wed Dec  5 09:57:06 2018	(r486661)
+++ head/devel/gdcm/Makefile	Wed Dec  5 10:03:31 2018	(r486662)
@@ -17,14 +17,9 @@ LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg \
 
 USES=		alias cmake:outsource compiler:c++11-lang tar:bzip2 ssl
 
-OPTIONS_RADIO=		VTK
-OPTIONS_RADIO_VTK=	VTK5 VTK6
+OPTIONS_DEFINE=		VTK6
 OPTIONS_SUB=		yes
 
-VTK5_DESC=		Build VTK 5 integration classes
-VTK5_LIB_DEPENDS=	libvtkHybrid.so:math/vtk5
-VTK5_CMAKE_ON=		-DGDCM_USE_VTK:BOOL=ON \
-			-DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-${VTK5_VERSION}
 VTK6_DESC=		Build VTK 6 integration classes
 VTK6_LIB_DEPENDS=	libvtkCommonCore-${VTK6_VERSION}.so:math/vtk6
 VTK6_CMAKE_ON=		-DGDCM_USE_VTK:BOOL=ON \
@@ -36,7 +31,6 @@ GDCM_MINOR=	8
 GDCM_PATCH=	8
 
 # Change this whenever VTK is updated
-VTK5_VERSION=	5.10
 VTK6_VERSION=	6.2
 
 USE_LDCONFIG=	yes
@@ -54,7 +48,7 @@ CMAKE_ARGS=	-DGDCM_USE_SYSTEM_OPENSSL:BOOL=ON \
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MVTK5} || ${PORT_OPTIONS:MVTK6}
+.if ${PORT_OPTIONS:MVTK6}
 DESKTOP_ENTRIES="Gdcmviewer" "Simple DICOM Viewer" "" "gdcmviewer" "" ""
 PLIST_SUB+=	VTK=""
 .else


More information about the svn-ports-head mailing list