From owner-svn-ports-all@freebsd.org Sun Nov 29 12:50:11 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50204A3CE1F; Sun, 29 Nov 2015 12:50:11 +0000 (UTC) (envelope-from danfe@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 mx1.freebsd.org (Postfix) with ESMTPS id 297CB1043; Sun, 29 Nov 2015 12:50:11 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tATCoAT3082128; Sun, 29 Nov 2015 12:50:10 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tATCo9r7082123; Sun, 29 Nov 2015 12:50:09 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201511291250.tATCo9r7082123@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sun, 29 Nov 2015 12:50:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402595 - in head: devel/llvm34 graphics/openimageio graphics/openimageio/files graphics/openshadinglanguage lang/clang34 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 12:50:11 -0000 Author: danfe Date: Sun Nov 29 12:50:09 2015 New Revision: 402595 URL: https://svnweb.freebsd.org/changeset/ports/402595 Log: Allow to build on PowerPC. Added: head/graphics/openimageio/files/ head/graphics/openimageio/files/patch-src_libOpenImageIO_CMakeLists.txt (contents, props changed) Modified: head/devel/llvm34/Makefile head/graphics/openimageio/Makefile head/graphics/openshadinglanguage/Makefile head/lang/clang34/Makefile Modified: head/devel/llvm34/Makefile ============================================================================== --- head/devel/llvm34/Makefile Sun Nov 29 12:49:05 2015 (r402594) +++ head/devel/llvm34/Makefile Sun Nov 29 12:50:09 2015 (r402595) @@ -85,6 +85,10 @@ CONFIGURE_ARGS+=--enable-experimental-ta .include +.if ${ARCH} == powerpc +USE_GCC= yes +.endif + # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} Modified: head/graphics/openimageio/Makefile ============================================================================== --- head/graphics/openimageio/Makefile Sun Nov 29 12:49:05 2015 (r402594) +++ head/graphics/openimageio/Makefile Sun Nov 29 12:50:09 2015 (r402595) @@ -79,6 +79,10 @@ PLIST_SUB+= LIBVERS=${PORTVERSION} .include +.if ${ARCH} == powerpc +USE_GCC= yes +.endif + .if ${SLAVE_PORT} == no LIB_DEPENDS+= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ Added: head/graphics/openimageio/files/patch-src_libOpenImageIO_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openimageio/files/patch-src_libOpenImageIO_CMakeLists.txt Sun Nov 29 12:50:09 2015 (r402595) @@ -0,0 +1,13 @@ +--- src/libOpenImageIO/CMakeLists.txt.orig 2015-09-28 18:00:17 UTC ++++ src/libOpenImageIO/CMakeLists.txt +@@ -272,6 +272,10 @@ if (EMBEDPLUGINS) + endif () + endif () + ++if (CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) ++ target_link_libraries (OpenImageIO atomic) ++endif () ++ + link_ilmbase (OpenImageIO) + + if (USE_EXTERNAL_PUGIXML) Modified: head/graphics/openshadinglanguage/Makefile ============================================================================== --- head/graphics/openshadinglanguage/Makefile Sun Nov 29 12:49:05 2015 (r402594) +++ head/graphics/openshadinglanguage/Makefile Sun Nov 29 12:50:09 2015 (r402595) @@ -29,6 +29,10 @@ USES= bison cmake:outsource .include +.if ${ARCH} == powerpc +USE_GCC= yes +.endif + .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= flex>=2.5.37:${PORTSDIR}/textproc/flex CMAKE_ARGS+= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex Modified: head/lang/clang34/Makefile ============================================================================== --- head/lang/clang34/Makefile Sun Nov 29 12:49:05 2015 (r402594) +++ head/lang/clang34/Makefile Sun Nov 29 12:50:09 2015 (r402595) @@ -75,6 +75,10 @@ PORTDATA= scanview.css \ .include +.if ${ARCH} == powerpc +USE_GCC= yes +.endif + # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL}