From owner-svn-ports-all@freebsd.org Sun Jan 12 03:00:46 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 020961FFB14; Sun, 12 Jan 2020 03:00:46 +0000 (UTC) (envelope-from pkubaj@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 47wM0s6GWtz3Lv7; Sun, 12 Jan 2020 03:00:45 +0000 (UTC) (envelope-from pkubaj@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 D2852D0CA; Sun, 12 Jan 2020 03:00:45 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00C30jZ9035058; Sun, 12 Jan 2020 03:00:45 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00C30jKb035057; Sun, 12 Jan 2020 03:00:45 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202001120300.00C30jKb035057@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sun, 12 Jan 2020 03:00:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r522746 - in branches/2020Q1/audio/ardour5: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in branches/2020Q1/audio/ardour5: . files X-SVN-Commit-Revision: 522746 X-SVN-Commit-Repository: ports 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.29 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, 12 Jan 2020 03:00:46 -0000 Author: pkubaj Date: Sun Jan 12 03:00:45 2020 New Revision: 522746 URL: https://svnweb.freebsd.org/changeset/ports/522746 Log: MFH: r522745 audio/ardour5: fix build on powerpc64 _POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it. On ELFv2 lld can't link it, throws errors like: ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC >>> defined in libs/ardour/cycle_timer.cc.1.o >>> referenced by cycle_timer.cc >>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8) Recompiling with -fPIC doesn't help, so use GNU ld there. PR: 243281 Approved by: portmgr (blanket: build fix) Added: branches/2020Q1/audio/ardour5/files/ - copied from r522745, head/audio/ardour5/files/ Modified: branches/2020Q1/audio/ardour5/Makefile Directory Properties: branches/2020Q1/ (props changed) Modified: branches/2020Q1/audio/ardour5/Makefile ============================================================================== --- branches/2020Q1/audio/ardour5/Makefile Sun Jan 12 02:59:41 2020 (r522745) +++ branches/2020Q1/audio/ardour5/Makefile Sun Jan 12 03:00:45 2020 (r522746) @@ -49,7 +49,6 @@ USE_LDCONFIG= yes INSTALLS_ICONS= yes BROKEN_aarch64= fails to configure: Could not find the program gas,as,gcc -BROKEN_powerpc64= fails to compile: configuration_variable.cc: 'strtof' is not a member of 'std' PLIST_SUB= ARDOURVERSION=${PORTVERSION} @@ -104,6 +103,8 @@ post-install: WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=i386 .elif ${ARCH} == "amd64" WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=x86_64 +.elif ${ARCH} == "powerpc64" +LLD_UNSAFE= yes .endif .if defined(WITH_ARCH_FLAGS)