From owner-svn-ports-head@freebsd.org Thu Jan 24 05:09:51 2019 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 60CB114C2B49; Thu, 24 Jan 2019 05:09:51 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0716815E2; Thu, 24 Jan 2019 05:09:50 +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 D49C023999; Thu, 24 Jan 2019 05:09:50 +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 x0O59otT067815; Thu, 24 Jan 2019 05:09:50 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0O59m4c067807; Thu, 24 Jan 2019 05:09:48 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201901240509.x0O59m4c067807@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Thu, 24 Jan 2019 05:09:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491080 - in head: devel/efl devel/google-perftools graphics/blender lang/ponyc net-p2p/monero-cli net/tigervnc science/rubygem-ruby-dcl www/rubygem-passenger x11-toolkits/rubygem-tk X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head: devel/efl devel/google-perftools graphics/blender lang/ponyc net-p2p/monero-cli net/tigervnc science/rubygem-ruby-dcl www/rubygem-passenger x11-toolkits/rubygem-tk X-SVN-Commit-Revision: 491080 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F0716815E2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Thu, 24 Jan 2019 05:09:51 -0000 Author: linimon Date: Thu Jan 24 05:09:48 2019 New Revision: 491080 URL: https://svnweb.freebsd.org/changeset/ports/491080 Log: Conditionalize the dependence of libunwind to x86-only to allow building these ports on !x86. libunwind is only available for x86; lang/ruby* already expresses this correctly. Some of the rubygems did not: for the ones that already had USE_RUBY, the dependency was overspecified in the first place. Tested for no-harm on amd64. While here, pet portlint where appropriate. Approved by: portmgr (tier-2 blanket) Modified: head/devel/efl/Makefile head/devel/google-perftools/Makefile head/graphics/blender/Makefile head/lang/ponyc/Makefile head/net-p2p/monero-cli/Makefile head/net/tigervnc/Makefile head/science/rubygem-ruby-dcl/Makefile head/www/rubygem-passenger/Makefile head/x11-toolkits/rubygem-tk/Makefile Modified: head/devel/efl/Makefile ============================================================================== --- head/devel/efl/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/devel/efl/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -20,8 +20,7 @@ LIB_DEPENDS= libgif.so:graphics/giflib \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ - libsndfile.so:audio/libsndfile \ - libunwind.so:devel/libunwind + libsndfile.so:audio/libsndfile # lib/libeio.so.1 CONFLICTS_INSTALL= libeio @@ -168,6 +167,11 @@ CONFIGURE_ARGS+= --disable-ibus --with-glib=no .if empty(PORT_OPTIONS:MOPENGL) && empty(PORT_OPTIONS:MOPENGLES) CONFIGURE_ARGS+= --with-opengl=none +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" Modified: head/devel/google-perftools/Makefile ============================================================================== --- head/devel/google-perftools/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/devel/google-perftools/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -18,8 +18,6 @@ BROKEN_powerpc= fails to build: assembly not supporte BROKEN_powerpc64= fails to build: assembly not supported, see PR\#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 BROKEN_sparc64= fails to build: assembly not supported, see PR\#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 -LIB_DEPENDS= libunwind.so:devel/libunwind - DOCSDIR= ${PREFIX}/share/doc/gperftools USES= compiler gmake libtool @@ -62,6 +60,11 @@ CXXFLAGS+= -fno-builtin .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif post-build: Modified: head/graphics/blender/Makefile ============================================================================== --- head/graphics/blender/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/graphics/blender/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -47,6 +47,14 @@ OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" +# libunwind is specific to amd64/i386 +OPTIONS_EXCLUDE_aarch64= CAMERATRACK +OPTIONS_EXCLUDE_armv6= CAMERATRACK +OPTIONS_EXCLUDE_armv7= CAMERATRACK +OPTIONS_EXCLUDE_powerpc= CAMERATRACK +OPTIONS_EXCLUDE_powerpc64= CAMERATRACK +OPTIONS_EXCLUDE_powerpcspe= CAMERATRACK + ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option Modified: head/lang/ponyc/Makefile ============================================================================== --- head/lang/ponyc/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/lang/ponyc/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Undefined reference to __atomic_compare_exchange_8 -LIB_DEPENDS= libunwind.so:devel/libunwind BUILD_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} RUN_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} @@ -52,6 +51,11 @@ PONYARCH?= armv8-a .elif "${ARCH}" == amd64 # Can't use 'x86-64' because atomics are required PONYARCH?= core2 +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 Modified: head/net-p2p/monero-cli/Makefile ============================================================================== --- head/net-p2p/monero-cli/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/net-p2p/monero-cli/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -35,7 +35,6 @@ LIB_DEPENDS= \ libpgm.so:net/openpgm \ libsodium.so:security/libsodium \ libunbound.so:dns/unbound \ - libunwind.so:devel/libunwind \ libzmq.so:net/libzmq4 BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq @@ -78,6 +77,11 @@ LD_EMULATION= elf64ppc CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION} +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif CMAKE_ARGS+= -DMANUAL_SUBMODULES:BOOL=ON Modified: head/net/tigervnc/Makefile ============================================================================== --- head/net/tigervnc/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/net/tigervnc/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -17,8 +17,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_in ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \ ${LOCALBASE}/include/FL/Fl.H:x11-toolkits/fltk \ bash:shells/bash -LIB_DEPENDS= libunwind.so:devel/libunwind \ - libxshmfence.so:x11/libxshmfence \ +LIB_DEPENDS= libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig # almost equivalent to x11-servers/xorg-server's RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \ @@ -107,6 +106,11 @@ CONFIGURE_ARGS+= \ --with-fontrootdir=${LOCALBASE}/share/fonts .include + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind +.endif TIGERVNC_XORG_PATCH_VER= ${MAKE} -C "${PORTSDIR}/x11-servers/xorg-server" -V PORTVERSION:R:S,\.,,g Modified: head/science/rubygem-ruby-dcl/Makefile ============================================================================== --- head/science/rubygem-ruby-dcl/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/science/rubygem-ruby-dcl/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -15,15 +15,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= rubygem-narray>=0.5.5:math/rubygem-narray LIB_DEPENDS= libcdcl.so:science/cdcl \ libfontconfig.so:x11-fonts/fontconfig \ - libfreetype.so:print/freetype2 \ - libunwind.so:devel/libunwind + libfreetype.so:print/freetype2 RUN_DEPENDS= rubygem-narray>=0.5.5:math/rubygem-narray \ rubygem-narray_miss>0:math/rubygem-narray_miss +USES= gem gettext-runtime USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango USE_XORG= ice sm x11 - USE_RUBY= yes -USES= gem gettext-runtime .include Modified: head/www/rubygem-passenger/Makefile ============================================================================== --- head/www/rubygem-passenger/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/www/rubygem-passenger/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -42,7 +42,6 @@ SHEBANG_FILES= src/cxx_supportlib/vendor-copy/libuv/gy LIB_DEPENDS+= libuv.so:devel/libuv \ libcurl.so:ftp/curl \ - libunwind.so:devel/libunwind \ libapr-1.so:devel/apr1 BUILD_DEPENDS+= rubygem-rack>=0:www/rubygem-rack Modified: head/x11-toolkits/rubygem-tk/Makefile ============================================================================== --- head/x11-toolkits/rubygem-tk/Makefile Thu Jan 24 00:56:19 2019 (r491079) +++ head/x11-toolkits/rubygem-tk/Makefile Thu Jan 24 05:09:48 2019 (r491080) @@ -10,8 +10,6 @@ COMMENT= Ruby interface to TclTk-8.6 LICENSE= BSD2CLAUSE -LIB_DEPENDS= libunwind.so:devel/libunwind - CONFIGURE_ARGS=--with-tcltkversion=8.6,8.6 \ --with-tk-include=${LOCALBASE}/include/tk8.6 \ --with-tcl-include=${LOCALBASE}/include/tcl8.6