Bug 212045 - graphics/tesseract: switch TOOLS on
Summary: graphics/tesseract: switch TOOLS on
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: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-22 09:50 UTC by Piotr Kubaj
Modified: 2016-09-10 12:15 UTC (History)
0 users

See Also:
pkubaj: maintainer-feedback+


Attachments
patch (526 bytes, patch)
2016-08-22 09:50 UTC, Piotr Kubaj
pkubaj: maintainer-approval+
Details | Diff
patch (943 bytes, patch)
2016-09-07 12:09 UTC, Piotr Kubaj
pkubaj: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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