Bug 192059

Summary: graphics/graphviz: fix if default python not 2.7, small pkg-plist issues
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch as described none

Description Kurt Jaeger freebsd_committer freebsd_triage 2014-07-23 11:35:27 UTC

    
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2014-07-23 11:37:00 UTC
Created attachment 144906 [details]
patch as described

graphics/graphviz does not install python if the build host has py3.x instead of 2.7 as default python.

The patch changes BUILD_PYTHON from yes to 2.7.

Some .la is missing in the pkg-plist, some tcl-dir is not deleted.
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2014-07-23 11:37:33 UTC
Please have a look, and commit if you approve.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2014-07-23 17:16:56 UTC
lib/tcl%%TCL_VER%% is used by the lang/tcl ports.
They must removed it on deinstall.

Some versions seems to be broken in this case.

grep -x '@dirrm lib/tcl%%TCL_VER%%' /usr/ports/lang/tcl*/pkg-plist
/usr/ports/lang/tcl86/pkg-plist:@dirrm lib/tcl%%TCL_VER%%
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-07-23 19:19:23 UTC
A commit references this bug:

Author: dinoex
Date: Wed Jul 23 19:19:11 UTC 2014
New revision: 362718
URL: http://svnweb.freebsd.org/changeset/ports/362718

Log:
  - fix option PYTHON
  PR:		192059
  Submitted by:	Kurt Jaeger

  - mark option RUBY broken
  using libdata/pkgconfig/ruby-1.9.pc fails cause of $(.TARGET) macro.

Changes:
  head/graphics/graphviz/Makefile
  head/graphics/graphviz/pkg-plist