Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:54:07 +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: r483764 - head/lang/libobjc2
Message-ID:  <201811020154.wA21s7Xx047937@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811020154.wA21s7Xx047937>