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)
This commit is contained in:
Piotr Kubaj
2019-09-16 11:18:54 +00:00
parent 8419628342
commit 9bcaba9a18

View File

@@ -24,4 +24,6 @@ USES= perl5
USE_PERL5= configure
MAKE_JOBS_UNSAFE= yes
CFLAGS_armv7= -fPIC
.include <bsd.port.mk>