Bug 207016

Summary: textproc/libe-book: fix build with boost 1.60
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Some People CC: jkim
Priority: --- Flags: bugzilla: maintainer-feedback? (office)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 199601    
Attachments:
Description Flags
Patch none

Description Dmitry Marakasov freebsd_committer freebsd_triage 2016-02-08 11:25:13 UTC
Created attachment 166739 [details]
Patch

Link error when building with boost 1.60, fixed by adding boost_system to link libraries. See also https://wiki.freebsd.org/BoostPortingProject/1.55-to-1.60
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2016-02-25 20:28:39 UTC
I'll take it.
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2016-02-25 20:48:00 UTC
There is no need for over-linking with libboost_system.so.  In fact, the upstream added "-DBOOST_ERROR_CODE_HEADER_ONLY" to CPPFLAGS to fix build with Boost 1.59 and later:

https://sourceforge.net/p/libebook/code/ci/b903d0
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-02-25 22:59:04 UTC
A commit references this bug:

Author: jkim
Date: Thu Feb 25 22:58:20 UTC 2016
New revision: 409567
URL: https://svnweb.freebsd.org/changeset/ports/409567

Log:
  - Fix build with Boost 1.59 and later. [1]
  - Remove LGPL21 from LICENSE.
  - Make portlint happy.

  PR:		207016 [1]

Changes:
  head/textproc/libe-book/Makefile
  head/textproc/libe-book/files/patch-libe-book.pc.in
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2016-02-25 23:00:40 UTC
Added "-DBOOST_ERROR_CODE_HEADER_ONLY" to CPPFLAGS.