Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2020 03:00:45 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
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
Message-ID:  <202001120300.00C30jKb035057@repo.freebsd.org>

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



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