Bug 210359 - devel/fossil: build fix
Summary: devel/fossil: build fix
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: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-17 21:48 UTC by Matthew Rezny
Modified: 2016-06-17 22:22 UTC (History)
0 users

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


Attachments
fix build of devel/fossil with FUSE option (1.07 KB, patch)
2016-06-17 21:48 UTC, Matthew Rezny
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Rezny freebsd_committer freebsd_triage 2016-06-17 21:48:21 UTC
Created attachment 171525 [details]
fix build of devel/fossil with FUSE option

Build of devel/fossil with FUSE option enabled fails in linking because it cannot find libfuse without -L{LOCALBASE}/lib. The proper solution is to move -L{LOCALBASE}/lib from CFLAGS to LDFLAGS so it is used during linking instead of only triggering warnings about being an used flag when compiling. However, the configure test then fails to find libfuse_mount because it is only using CFLAGS when linking library detection tests. So, patch the build framework to respect LDFLAGS when building library checking routines.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-06-17 22:21:41 UTC
A commit references this bug:

Author: bapt
Date: Fri Jun 17 22:21:22 UTC 2016
New revision: 417039
URL: https://svnweb.freebsd.org/changeset/ports/417039

Log:
  Fix build with fuse option on

  PR:		210359
  Submitted by:	matthew@reztek.cz

Changes:
  head/devel/fossil/Makefile
  head/devel/fossil/files/patch-autosetup_cc.tcl
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2016-06-17 22:22:30 UTC
thank you!