Bug 213279

Summary: [patch] databases/db6 fails to install with tcl enabled
Product: Ports & Packages Reporter: Oleg Sidorkin <osidorkin>
Component: Individual Port(s)Assignee: Matthias Andree <mandree>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: mandree: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
swap post-install-TCL-on and post-install-TCL-off none

Description Oleg Sidorkin 2016-10-07 17:00:15 UTC
Created attachment 175504 [details]
swap post-install-TCL-on and post-install-TCL-off

Try to build databases/db6 with tcl option enabled

The following error happens:

===>   Registering installation for db6-6.2.23_2
pkg-static: Unable to access file /data/build/usr/ports/databases/db6/work/stage/usr/local/lib/db6/pkgIndex.tcl: No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/databases/db6
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/db6

Attached patch seems to help.
Comment 1 Matthias Andree freebsd_committer freebsd_triage 2016-10-07 18:13:02 UTC
Patch applied (with wiggle because patch wouldn't work for some reason), thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-10-07 18:13:32 UTC
A commit references this bug:

Author: mandree
Date: Fri Oct  7 18:12:39 UTC 2016
New revision: 423474
URL: https://svnweb.freebsd.org/changeset/ports/423474

Log:
  Fix packaging with enabled TCL option.

  PR:		213279
  Submitted by:	osidorkin@gmail.com

Changes:
  head/databases/db6/Makefile