svn commit: r540392 - head/devel/p5-Data-MessagePack-Stream

Mikael Urankar mikael at FreeBSD.org
Thu Jun 25 14:00:15 UTC 2020


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 at 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>


More information about the svn-ports-all mailing list