Bug 212045

Summary: graphics/tesseract: switch TOOLS on
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Flags: pkubaj: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
pkubaj: maintainer-approval+
patch pkubaj: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2016-08-22 09:50:16 UTC
Created attachment 173931 [details]
patch

TOOLS option needs to be switched on. This fixes the build of net/tucan.

Patch compiles fine on Poudriere with 10.3.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2016-08-22 10:43:27 UTC
Doesn't build on 9.x:

make: don't know how to make training-install.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2016-09-06 19:53:16 UTC
Ping
Comment 3 Piotr Kubaj freebsd_committer freebsd_triage 2016-09-07 12:09:55 UTC
Created attachment 174472 [details]
patch

Training tools apparently need C++11 to compile, which GCC 4.2 lacks.
Comment 4 Piotr Kubaj freebsd_committer freebsd_triage 2016-09-07 12:10:28 UTC
(In reply to Piotr Kubaj from comment #3)
It builds fine on 9.
Comment 5 commit-hook freebsd_committer freebsd_triage 2016-09-10 12:15:48 UTC
A commit references this bug:

Author: amdmi3
Date: Sat Sep 10 12:15:06 UTC 2016
New revision: 421687
URL: https://svnweb.freebsd.org/changeset/ports/421687

Log:
  - Enable TOOLS by default
  - Fix build with TOOLS on 9.x
  - While here, cosmetic fixes

  PR:		212045
  Submitted by:	pkubaj@anongoth.pl (maintainer)

Changes:
  head/graphics/tesseract/Makefile