1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Switch to an out-of-source CMake build.

It does not have any bad side-effects, and out-of-source builds are recommended
by CMake. In this case, it also avoids ninja warnings that become errors with
Ninja 1.8:

ninja: warning: multiple rules generate locales/leatherman.pot. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate locale/locales/leatherman_locale.pot. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate logging/locales/leatherman_logging.pot. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]

PR:		222770
This commit is contained in:
Raphael Kubo da Costa 2017-10-07 18:32:18 +00:00
parent 3240eefaea
commit ee59c67c6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451472

View File

@ -19,7 +19,7 @@ BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line op
USE_GITHUB= yes
GH_ACCOUNT= puppetlabs
USES= cmake gettext
USES= cmake:outsource gettext
USE_RUBY= yes
CMAKE_ARGS= -DLEATHERMAN_SHARED:BOOL=ON
USE_LDCONFIG= yes