Bug 192059 - graphics/graphviz: fix if default python not 2.7, small pkg-plist issues
Summary: graphics/graphviz: fix if default python not 2.7, small pkg-plist issues
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: Dirk Meyer
Depends on:
Reported: 2014-07-23 11:35 UTC by Kurt Jaeger
Modified: 2014-07-23 19:49 UTC (History)
0 users

See Also:

patch as described (1.29 KB, patch)
2014-07-23 11:37 UTC, Kurt Jaeger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Jaeger freebsd_committer 2014-07-23 11:35:27 UTC

Comment 1 Kurt Jaeger freebsd_committer 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 2014-07-23 11:37:33 UTC
Please have a look, and commit if you approve.
Comment 3 Dirk Meyer freebsd_committer 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 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

  - 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.