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

Piotr Kubaj pkubaj at FreeBSD.org
Mon Apr 20 17:48:18 UTC 2020


Author: pkubaj
Date: Mon Apr 20 17:48:16 2020
New Revision: 532214
URL: https://svnweb.freebsd.org/changeset/ports/532214

Log:
  devel/p5-Data-MessagePack-Stream: fix build on powerpc head
  
  Add -fPIC:
  ld: error: can't create dynamic relocation R_PPC_ADDR16_LO against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
  >>> defined in msgpack-0.5.7/src/.libs/libmsgpack.a(unpack.o)
  >>> referenced by zone.h:123 (./msgpack/zone.h:123)
  >>>               unpack.o:(msgpack_unpacker_release_zone) in archive msgpack-0.5.7/src/.libs/libmsgpack.a

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

Modified: head/devel/p5-Data-MessagePack-Stream/Makefile
==============================================================================
--- head/devel/p5-Data-MessagePack-Stream/Makefile	Mon Apr 20 17:21:25 2020	(r532213)
+++ head/devel/p5-Data-MessagePack-Stream/Makefile	Mon Apr 20 17:48:16 2020	(r532214)
@@ -25,5 +25,6 @@ USE_PERL5=	configure
 MAKE_JOBS_UNSAFE=	yes
 
 CFLAGS_armv7=	-fPIC
+CFLAGS_powerpc=	-fPIC
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list