From owner-svn-ports-head@freebsd.org Fri Nov 2 01:54:08 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 839BF10E1043; Fri, 2 Nov 2018 01:54:08 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 371FE71140; Fri, 2 Nov 2018 01:54:08 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 180B72413E; Fri, 2 Nov 2018 01:54:08 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA21s7mw047938; Fri, 2 Nov 2018 01:54:07 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA21s7Xx047937; Fri, 2 Nov 2018 01:54:07 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811020154.wA21s7Xx047937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 2 Nov 2018 01:54:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483764 - head/lang/libobjc2 X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/lang/libobjc2 X-SVN-Commit-Revision: 483764 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 01:54:08 -0000 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}