Bug 230771 - net/cppzmq: Fix CMake config installation path
Summary: net/cppzmq: Fix CMake config installation path
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: Vasil Dimov
URL:
Keywords: easy, patch
Depends on:
Blocks: 230579
  Show dependency treegraph
 
Reported: 2018-08-20 11:39 UTC by Jason E. Hale
Modified: 2018-08-20 12:46 UTC (History)
1 user (show)

See Also:
vd: maintainer-feedback+


Attachments
Fix cmake config location (1.34 KB, patch)
2018-08-20 11:39 UTC, Jason E. Hale
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason E. Hale freebsd_committer freebsd_triage 2018-08-20 11:39:45 UTC
Created attachment 196381 [details]
Fix cmake config location

net/cppzmq installs several CMake "config" files into the wrong location. CMake expects these files to be in ${LOCALBASE}/lib/cmake/${PROJECT_NAME}. Only "modules" should be installed into ${LOCALBASE}/share/cmake/Modules. As it is now, any project trying to find cppzmq with find_package will fail to do so.

https://cmake.org/cmake/help/v3.12/command/find_package.html
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-20 12:44:24 UTC
A commit references this bug:

Author: vd
Date: Mon Aug 20 12:43:41 UTC 2018
New revision: 477649
URL: https://svnweb.freebsd.org/changeset/ports/477649

Log:
  net/cppzmq: Fix CMake config installation path

  PR:		230771
  Submitted by:	jhale@
  Reported by:	jhale@

Changes:
  head/net/cppzmq/Makefile
Comment 2 Vasil Dimov freebsd_committer freebsd_triage 2018-08-20 12:46:35 UTC
Committed, thanks!