Date: Tue, 27 Nov 2018 16:40:33 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486025 - head/lang/libobjc2 Message-ID: <201811271640.wARGeXbG034865@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 27 16:40:33 2018 New Revision: 486025 URL: https://svnweb.freebsd.org/changeset/ports/486025 Log: Switch the libstdc++ flag to be dependent on an existance test. This will be more robust if the quoted archs switch to libc++ in the future. Reported by: jbeich Approved by: portmgr (tier-2 blanket) Modified: head/lang/libobjc2/Makefile Modified: head/lang/libobjc2/Makefile ============================================================================== --- head/lang/libobjc2/Makefile Tue Nov 27 16:36:14 2018 (r486024) +++ head/lang/libobjc2/Makefile Tue Nov 27 16:40:33 2018 (r486025) @@ -29,12 +29,9 @@ CMAKE_ARGS+= -DTESTS=OFF # This shouldn't be needed, but our llvm port installs llvm-config with a silly # name... CMAKE_ARGS+= -DLLVM_OPTS=OFF -CXXFLAGS_powerpc64= -stdlib=libstdc++ -CXXFLAGS_powerpcspe= -stdlib=libstdc++ -CXXFLAGS_powerpc= -stdlib=libstdc++ -CXXFLAGS_sparc64= -stdlib=libstdc++ -CXXFLAGS_mips= -stdlib=libstdc++ -CXXFLAGS_mips64= -stdlib=libstdc++ +.if exists(/usr/lib/libstdc++.so) +CXXFLAGS+= -stdlib=libstdc++ +.endif post-install: ${LN} -sf libobjc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjc.so.${SHLIB_MAJOR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811271640.wARGeXbG034865>