Bug 204937 - lang/clang37[fix] - fails to correctly depend on llvm37 if any other package provides clang37 executable
Summary: lang/clang37[fix] - fails to correctly depend on llvm37 if any other package ...
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: Brooks Davis
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-12-01 15:11 UTC by c.kworr
Modified: 2016-01-11 22:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description c.kworr 2015-12-01 15:11:00 UTC
When building lang/clang37 it depends on clang37 binary that can be also installed via devel/ccache. The correct way to depend is to include the whole path to the binary:

RUN_DEPENDS+= ${PREFIX}/bin/clang${LLVM_SUFFIX}:${PORTSDIR}/devel/llvm${LLVM_SUFFIX}
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-12-03 09:14:17 UTC
A commit references this bug:

Author: brooks
Date: Thu Dec  3 09:14:13 UTC 2015
New revision: 402868
URL: https://svnweb.freebsd.org/changeset/ports/402868

Log:
  Depend on ${PREFIX}/bin/clang37 to avoid confusion with the clang37
  installed by devel/ccache.

  PR:		204937
  MFH:		2015Q4

Changes:
  head/lang/clang37/Makefile
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-12-03 17:51:06 UTC
A commit references this bug:

Author: brooks
Date: Thu Dec  3 17:50:15 UTC 2015
New revision: 402896
URL: https://svnweb.freebsd.org/changeset/ports/402896

Log:
  MFH: r402868

  Depend on ${PREFIX}/bin/clang37 to avoid confusion with the clang37
  installed by devel/ccache.

  PR:		204937
  Approved by:	portmgr (feld)

Changes:
_U  branches/2015Q4/
  branches/2015Q4/lang/clang37/Makefile