From owner-svn-ports-head@freebsd.org Sun Jun 17 09:38:02 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A88881017786; Sun, 17 Jun 2018 09:38:02 +0000 (UTC) (envelope-from adridg@freebsd.org) Received: from smtp02.mail.online.nl (smtp02.mail.online.nl [194.134.25.72]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD2B8778F; Sun, 17 Jun 2018 09:38:02 +0000 (UTC) (envelope-from adridg@freebsd.org) Received: from beastie.bionicmutton.org (s55969a9e.adsl.online.nl [85.150.154.158]) by smtp02.mail.online.nl (Postfix) with ESMTP id 2E3BB1A0094; Sun, 17 Jun 2018 11:37:52 +0200 (CEST) From: Adriaan de Groot To: yuri@freebsd.org Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r472575 - in head/devel/cpp2py: . files Date: Sun, 17 Jun 2018 11:37:45 +0200 Message-ID: <3686747.Erkxd33iFv@beastie.bionicmutton.org> Organization: FreeBSD In-Reply-To: <201806162320.w5GNKtvI066975@repo.freebsd.org> References: <201806162320.w5GNKtvI066975@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10924919.k2njD6izWF"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2018 09:38:02 -0000 --nextPart10924919.k2njD6izWF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" For completeness, I'll throw in an explanation of "correct cmake file paths" (which Yuri is correct in using). On Sunday, 17 June 2018 01:20:55 CEST Yuri Victorovich wrote: > Log: > devel/cpp2py: Correct cmake file paths > -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Cpp2PyConfig.cmake DESTINATION > ${CMAKE_INSTALL_PREFIX}/share/cmake) > ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Cpp2PyConfig.cmake DESTINATION > ${CMAKE_INSTALL_PREFIX}/lib/cmake/cpp2py) > +lib/cmake/cpp2py/Cpp2PyConfig.cmake > -share/cmake/Modules/Cpp2PyConfig.cmake CMake looks for modules in various places. Many CMake-based software projects (and some others) install modules to help CMake find those pieces of software -- for consumers of that software, for instance. The CMake port itself installs stuff into ${LOCALBASE}/share/cmake, and in particular (normal settings), /usr/local/share/cmake/Modules are where the modules-shipped-with-CMake live. Most other software installs to /usr/local/lib/cmake/ (no extra Modules/). The "big" consumers of CMake, KDE and Qt, but also small stuff like yaml-cpp, install their CMake modules there. For CMake itself it doesn't matter: it searches many places for modules, see e.g. cmake --help-command find_package . I guess on FreeBSD we could say we have a preference for keeping share/cmake as "the place for CMake itself" and lib/cmake as "the place for third-party modules". So thanks for tidying this up, Yuri. (fwiw, pkg which /usr/local/share/cmake/Modules/* | grep -v 'package cmake-3' tells me there's some leakage; not enough to go an update packages Just Because, but something to keep in mind if touching a port anyway) [ade] --nextPart10924919.k2njD6izWF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABEIAB0WIQTVFBoRsP760fy+Jisy7lRaPghTTwUCWyYr6QAKCRAy7lRaPghT TxlIAP9XrDpME1guHkSfU7+lvgjEjB4iiPXZBPHEiPA5dolriAD/VtRod0EQfXrT H8VgJU6LNqOAwaPZ7aa2uM3fM1dQ9pg= =ozj6 -----END PGP SIGNATURE----- --nextPart10924919.k2njD6izWF--