svn commit: r483764 - head/lang/libobjc2
Mark Linimon
linimon at FreeBSD.org
Fri Nov 2 01:54:08 UTC 2018
Author: linimon
Date: Fri Nov 2 01:54:07 2018
New Revision: 483764
URL: https://svnweb.freebsd.org/changeset/ports/483764
Log:
USES=objc:compiler sets the compiler, but then USES=compiler:c++11-lang
overwrites it. Remove the latter to use the proper compiler. Also use
libstdc++ on GCC architectures to fix build.
While here, pet portlint.
PR: 232386
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Modified:
head/lang/libobjc2/Makefile
Modified: head/lang/libobjc2/Makefile
==============================================================================
--- head/lang/libobjc2/Makefile Fri Nov 2 01:50:55 2018 (r483763)
+++ head/lang/libobjc2/Makefile Fri Nov 2 01:54:07 2018 (r483764)
@@ -3,8 +3,8 @@
PORTNAME= libobjc2
PORTVERSION= 1.8.1
-PORTREVISION= 2
DISTVERSIONPREFIX= v
+PORTREVISION= 2
CATEGORIES= lang devel gnustep
MAINTAINER= theraven at FreeBSD.org
@@ -12,7 +12,7 @@ COMMENT= Replacement Objective-C runtime supporting mo
BROKEN_powerpc= Does not compile on powerpc: Unsupported relocation type 10
BROKEN_sparc64= Does not compile on sparc64: Cannot configure clang properly
-USES= cmake compiler:c++11-lang objc:compiler
+USES= cmake objc:compiler
USE_GITHUB= yes
GH_ACCOUNT= gnustep
@@ -29,6 +29,12 @@ 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++
post-install:
${LN} -sf libobjc.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${STAGEDIR}${PREFIX}/lib/libobjc.so.${SHLIB_MAJOR}
More information about the svn-ports-head
mailing list