[kde-freebsd] ports/156901: [patch] devel/cmake breaks with CC containing spaces

Dominic Fandrey kamikaze at bsdforen.de
Fri Sep 23 16:20:08 UTC 2011


The following reply was made to PR ports/156901; it has been noted by GNATS.

From: Dominic Fandrey <kamikaze at bsdforen.de>
To: bug-followup at FreeBSD.org, kamikaze at bsdforen.de
Cc:  
Subject: Re: ports/156901: [patch] devel/cmake breaks with CC containing spaces
Date: Fri, 23 Sep 2011 18:19:13 +0200

 This is a multi-part message in MIME format.
 --------------050503030704080903050407
 Content-Type: text/plain; charset=ascii
 Content-Transfer-Encoding: 7bit
 
 The longer this is delayed, the more patches I will have to change.
 
 Regards,
 Kami
 
 --------------050503030704080903050407
 Content-Type: text/plain;
  name="patch-ports-Mk-bsd.cmake.mk.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch-ports-Mk-bsd.cmake.mk.txt"
 
 --- Mk/bsd.cmake.mk.orig	2011-09-22 23:38:29.000000000 +0200
 +++ Mk/bsd.cmake.mk	2011-09-22 23:42:13.000000000 +0200
 @@ -49,16 +49,10 @@
  #
  # Default environment and arguments to cmake
  #
 -CMAKE_ENV?=		${CONFIGURE_ENV}
 -CMAKE_ARGS+=	-DCMAKE_C_COMPILER:STRING="${CC}" \
 -				-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
 -				-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
 -				-DCMAKE_C_FLAGS_DEBUG:STRING="${CFLAGS}" \
 -				-DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \
 -				-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
 -				-DCMAKE_CXX_FLAGS_DEBUG:STRING="${CXXFLAGS}" \
 -				-DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
 -				-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
 +CMAKE_ENV?=		${CONFIGURE_ENV} CC="${CC}" CFLAGS="${CFLAGS}" \
 +			CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \
 +			CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
 +CMAKE_ARGS+=		-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
  				-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
  				-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES
  
 
 --------------050503030704080903050407--


More information about the kde-freebsd mailing list