Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 11:18:55 +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: r512163 - head/devel/p5-Data-MessagePack-Stream
Message-ID:  <201909161118.x8GBItjp090445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Sep 16 11:18:54 2019
New Revision: 512163
URL: https://svnweb.freebsd.org/changeset/ports/512163

Log:
  devel/p5-Data-MessagePack-Stream: fix build on armv7
  
  armv7 needs -fPIC in CFLAGS to build this port:
  /usr/bin/ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC
  >>> defined in msgpack-0.5.7/src/.libs/libmsgpack.a(unpack.o)
  >>> referenced by unpack.c
  >>>               unpack.o:(template_execute) in archive msgpack-0.5.7/src/.libs/libmsgpack.a
  
  PR:		240068
  Approved by:	kuriyama (maintainer timeout), linimon (mentor)

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

Modified: head/devel/p5-Data-MessagePack-Stream/Makefile
==============================================================================
--- head/devel/p5-Data-MessagePack-Stream/Makefile	Mon Sep 16 11:16:55 2019	(r512162)
+++ head/devel/p5-Data-MessagePack-Stream/Makefile	Mon Sep 16 11:18:54 2019	(r512163)
@@ -24,4 +24,6 @@ USES=		perl5
 USE_PERL5=	configure
 MAKE_JOBS_UNSAFE=	yes
 
+CFLAGS_armv7=	-fPIC
+
 .include <bsd.port.mk>



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