mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
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
|
@ -2,11 +2,12 @@
|
|||
|
||||
PORTNAME= facter
|
||||
PORTVERSION= 3.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://downloads.puppetlabs.com/facter/
|
||||
|
||||
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_FILE= ${WRKSRC}/LICENSE
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
--- vendor/leatherman/cmake/cflags.cmake.orig 2015-07-21 17:31:29 UTC
|
||||
+++ 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
|
||||
else()
|
||||
set(LEATHERMAN_CXX_FLAGS "${LEATHERMAN_CXX_FLAGS} -Wno-deprecated")
|
||||
|
|
Loading…
Add table
Reference in a new issue