svn commit: r341510 - head/lang/libobjc2
Tijl Coosemans
tijl at FreeBSD.org
Mon Feb 3 10:16:03 UTC 2014
On Tue, 28 Jan 2014 08:13:38 +0000 (UTC) Baptiste Daroussin wrote:
> Author: bapt
> Date: Tue Jan 28 08:13:37 2014
> New Revision: 341510
> URL: http://svnweb.freebsd.org/changeset/ports/341510
> QAT: https://qat.redports.org/buildarchive/r341510/
>
> Log:
> Support stage
> Respect prefix
>
> Modified:
> head/lang/libobjc2/Makefile
>
> Modified: head/lang/libobjc2/Makefile
> ==============================================================================
> --- head/lang/libobjc2/Makefile Tue Jan 28 08:04:07 2014 (r341509)
> +++ head/lang/libobjc2/Makefile Tue Jan 28 08:13:37 2014 (r341510)
> @@ -12,10 +12,10 @@ COMMENT= Replacement Objective-C runtime
>
> SSP_UNSAFE= yes
>
> -NO_STAGE= yes
> -.include <bsd.port.options.mk>
> -
> USES= cmake
> +BROKEN_powerpc= Does not compile on powerpc: Unsupported relocation type 10
> +
> +.include <bsd.port.options.mk>
>
> _CLANG!= if [ -f /usr/bin/clang ] ; then /usr/bin/clang --version | head -1 | \
> ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' ; else ${ECHO} 0 ; fi
> @@ -42,8 +42,6 @@ PLIST_SUB+= WITH_SEPARATECXX=""
> PLIST_SUB+= WITH_SEPARATECXX="@comment "
> .endif
>
> -.include <bsd.port.pre.mk>
> -
> CMAKE_ARGS+= -DLIB_INSTALL_PATH=lib -DCMAKE_ASM_COMPILER=${CLANG}
> CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CLANG} -DCMAKE_CXX_COMPILER=${CLANGXX}
> CMAKE_ARGS+= -DTESTS=OFF
The port is currently broken. By removing the bsd.port.pre.mk include
-DCMAKE_C_COMPILER:STRING="${CC}" in Uses/cmake.mk now comes after the
-DCMAKE_C_COMPILER=${CLANG} here so it doesn't have any effect. Same for
CXX.
Instead of putting .include <bsd.port.pre.mk> back, maybe the port should
define CC=${CLANG} CXX=${CLANGXX} and remove the second CMAKE_ARGS line?
More information about the svn-ports-all
mailing list