sysutils/facter: unbreak build on -CURRENT

- disable -Werror until boost 1.59 gets into the portstree
- while here, correct COMMENT (noted by junovitch)
This commit is contained in:
Michael Moll 2015-09-14 15:45:58 +00:00
parent eb50e8ca0f
commit a1c7d43ee1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396904
2 changed files with 11 additions and 1 deletions

View file

@ -2,11 +2,12 @@
PORTNAME= facter PORTNAME= facter
PORTVERSION= 3.0.2 PORTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://downloads.puppetlabs.com/facter/ MASTER_SITES= http://downloads.puppetlabs.com/facter/
MAINTAINER= mmoll@FreeBSD.org MAINTAINER= mmoll@FreeBSD.org
COMMENT= Cross-platform Ruby library for retrieving facts from OS COMMENT= Cross-platform library for retrieving facts from OS
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE

View file

@ -1,5 +1,14 @@
--- vendor/leatherman/cmake/cflags.cmake.orig 2015-07-21 17:31:29 UTC --- vendor/leatherman/cmake/cflags.cmake.orig 2015-07-21 17:31:29 UTC
+++ vendor/leatherman/cmake/cflags.cmake +++ vendor/leatherman/cmake/cflags.cmake
@@ -2,7 +2,7 @@
# Each of our project dirs sets CMAKE_CXX_FLAGS based on these. We do
# not set CMAKE_CXX_FLAGS globally because gtest is not warning-clean.
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-tautological-constant-out-of-range-compare")
+ set(LEATHERMAN_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-error")
# Clang warns that 'register' is deprecated; 'register' is used throughout boost, so it can't be an error yet.
# The warning flag is different on different clang versions so we need to extract the clang version.
@@ -21,6 +21,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL @@ -21,6 +21,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL
else() else()
set(LEATHERMAN_CXX_FLAGS "${LEATHERMAN_CXX_FLAGS} -Wno-deprecated") set(LEATHERMAN_CXX_FLAGS "${LEATHERMAN_CXX_FLAGS} -Wno-deprecated")