Bug 207016 - textproc/libe-book: fix build with boost 1.60
Summary: textproc/libe-book: fix build with boost 1.60
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks: 199601
  Show dependency treegraph
 
Reported: 2016-02-08 11:25 UTC by Dmitry Marakasov
Modified: 2016-02-25 23:00 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
Patch (562 bytes, patch)
2016-02-08 11:25 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer 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 2016-02-25 20:28:39 UTC
I'll take it.
Comment 2 Jung-uk Kim freebsd_committer 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 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 2016-02-25 23:00:40 UTC
Added "-DBOOST_ERROR_CODE_HEADER_ONLY" to CPPFLAGS.