Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 14:00:15 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540392 - head/devel/p5-Data-MessagePack-Stream
Message-ID:  <202006251400.05PE0FVi068834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Thu Jun 25 14:00:15 2020
New Revision: 540392
URL: https://svnweb.freebsd.org/changeset/ports/540392

Log:
  devel/p5-Data-MessagePack-Stream: fix build on i386 and aarch64
  
  PR:		234868
  Reported by:	emaste
  Reviewed by:	emaste
  Approved by:	kuriyama (maintainer, timeout)

Modified:
  head/devel/p5-Data-MessagePack-Stream/Makefile

Modified: head/devel/p5-Data-MessagePack-Stream/Makefile
==============================================================================
--- head/devel/p5-Data-MessagePack-Stream/Makefile	Thu Jun 25 13:53:21 2020	(r540391)
+++ head/devel/p5-Data-MessagePack-Stream/Makefile	Thu Jun 25 14:00:15 2020	(r540392)
@@ -10,10 +10,6 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	Perl extension for yet another messagepack streaming deserializer
 
-BROKEN_aarch64=		fails to link: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
-BROKEN_i386=	ld: error: relocation R_386_PC32 cannot be used against symbol malloc
-.endif
 BROKEN_mips=		fails to build: atomic operations are not found
 BROKEN_mips64=		fails to build: atomic operations are not found
 BROKEN_sparc64=		fails to build: atomic operations are not found
@@ -24,7 +20,9 @@ USES=		perl5
 USE_PERL5=	configure
 MAKE_JOBS_UNSAFE=	yes
 
+CFLAGS_aarch64=	-fPIC
 CFLAGS_armv7=	-fPIC
+CFLAGS_i386=	-fPIC
 CFLAGS_powerpc=	-fPIC
 
 .include <bsd.port.mk>



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