Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 17:48:16 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r532214 - head/devel/p5-Data-MessagePack-Stream
Message-ID:  <202004201748.03KHmGBW029609@repo.freebsd.org>

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



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