svn commit: r512163 - head/devel/p5-Data-MessagePack-Stream
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Sep 16 11:18:55 UTC 2019
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>
More information about the svn-ports-all
mailing list