svn commit: r490027 - in head/sysutils/facter: . files
Romain Tartière
romain at FreeBSD.org
Sat Jan 12 06:39:43 UTC 2019
Author: romain
Date: Sat Jan 12 06:39:42 2019
New Revision: 490027
URL: https://svnweb.freebsd.org/changeset/ports/490027
Log:
Fix build when devel/rapidjson is installed
devel/leatherman include an old version of RapidJSON that is not compatible
with what devel/rapidjson install. Reorder includes so that the version
included with devel/leatherman is found before the one of devel/rapidjson
because it is what is wanted.
While here, fix `make test`.
No need to bump PORTREVISION.
PR: 233426
Reported by: vladislav.movchan at gmail.com
Added:
head/sysutils/facter/files/patch-lib_CMakeLists.txt (contents, props changed)
Modified:
head/sysutils/facter/Makefile
Modified: head/sysutils/facter/Makefile
==============================================================================
--- head/sysutils/facter/Makefile Sat Jan 12 05:47:56 2019 (r490026)
+++ head/sysutils/facter/Makefile Sat Jan 12 06:39:42 2019 (r490027)
@@ -53,7 +53,7 @@ post-install:
test: build
cd ${WRKSRC}/lib && bundle install --path vendor
- cd ${WRKSRC} && ${MAKE_CMD} test
+ cd ${CONFIGURE_WRKSRC} && ${MAKE_CMD} test
.include <bsd.port.pre.mk>
Added: head/sysutils/facter/files/patch-lib_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/facter/files/patch-lib_CMakeLists.txt Sat Jan 12 06:39:42 2019 (r490027)
@@ -0,0 +1,15 @@
+--- lib/CMakeLists.txt.orig 2018-12-17 18:05:06 UTC
++++ lib/CMakeLists.txt
+@@ -307,11 +307,11 @@ endif()
+ # Set include directories
+ include_directories(
+ inc
++ ${LEATHERMAN_INCLUDE_DIRS}
+ ${Boost_INCLUDE_DIRS}
+ ${OPENSSL_INCLUDE_DIRS}
+ ${YAMLCPP_INCLUDE_DIRS}
+ ${CURL_INCLUDE_DIRS}
+- ${LEATHERMAN_INCLUDE_DIRS}
+ ${CPPHOCON_INCLUDE_DIRS}
+ )
+
More information about the svn-ports-head
mailing list