Bug 212315 - math/vtk6: Wrong plist with TCLTK && !EXAMPLES
Summary: math/vtk6: Wrong plist with TCLTK && !EXAMPLES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 19:03 UTC by ice
Modified: 2016-09-14 00:27 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ice 2016-09-01 19:03:01 UTC
/usr/ports/math/vtk6$ make showconfig
===> The following configuration options are available for vtk6-6.2.0_4:
     DESIGNER=off: Build the Qt Designer plugin
     DOCS=off: Build and/or install documentation
     EXAMPLES=off: Build and/or install examples
     OSMESA=off: Use Mesa for off-screen rendering
     SHARED=on
====> Options available for the group Groups
     MPI=off: Build the MPI group
====> Options available for the group Wrapping
     JAVA=off: JAVA wrapping
     TCLTK=off: TCLTK wrapping
     PYTHON=on: PYTHON wrapping
====> Qt GUI support: you can only select none or one of them
     QT4=on: Qt 4 toolkit support
     QT5=off: Qt 5 toolkit support
===> Use 'make config' to modify these settings

===>  Checking if vtk6 already installed
===>   Registering installation for vtk6-6.2.0_4
pkg-static: Unable to access file /usr/ports/math/vtk6/work/stage/usr/local/lib/vtk-6.2/libvtkLocalExampleTCL-6.2.so: No such file or directory
pkg-static: Unable to access file /usr/ports/math/vtk6/work/stage/usr/local/lib/vtk-6.2/libvtkLocalExampleTCL-6.2.so.1: No such file or directory
*** Error code 74

Suggested fix (worksforme):

/usr/ports/math/vtk6$ svn diff pkg-plist 
Index: pkg-plist
===================================================================
--- pkg-plist   (revision 421198)
+++ pkg-plist   (working copy)
@@ -368,7 +368,7 @@
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionImageTCL-%%VER2%%.a
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionStyleTCL-%%VER2%%.a
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionWidgetsTCL-%%VER2%%.a
-%%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.a
+%%EXAMPLES%%%%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.a
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkParallelCoreTCL-%%VER2%%.a
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkRenderingAnnotationTCL-%%VER2%%.a
 %%NO_SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkRenderingContextIIDTCL-%%VER2%%.a
@@ -1415,8 +1415,8 @@
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionStyleTCL-%%VER2%%.so.1
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionWidgetsTCL-%%VER2%%.so
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkInteractionWidgetsTCL-%%VER2%%.so.1
-%%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.so
-%%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.so.1
+%%EXAMPLES%%%%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.so
+%%EXAMPLES%%%%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkLocalExampleTCL-%%VER2%%.so.1
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkParallelCoreTCL-%%VER2%%.so
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkParallelCoreTCL-%%VER2%%.so.1
 %%SHARED%%%%TCLTK%%lib/vtk-%%VER2%%/libvtkRenderingAnnotationTCL-%%VER2%%.so
Comment 1 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2016-09-14 00:21:08 UTC
Thanks for pointing out these errors.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-09-14 00:25:51 UTC
A commit references this bug:

Author: stephen
Date: Wed Sep 14 00:25:31 UTC 2016
New revision: 422090
URL: https://svnweb.freebsd.org/changeset/ports/422090

Log:
  - Corrections to pkg-plist for when option "EXAMPLES" is OFF.

  PR:		ports/212315
  Submitted by:	ice@extreme.hu

Changes:
  head/math/vtk6/pkg-plist
Comment 3 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2016-09-14 00:27:31 UTC
Committed.  Thank you.