1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/comms/hcidump/Makefile
Cy Schubert b581f84ea5 comms/hcidump: Fix a link error
Fix the following by adding -fPIE to CFLAGS:

/usr/local/bin/x86_64-unknown-freebsd14.0-ld: ../parser/libparser.a(hidp.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making
a PIE object; recompile with -fPIE
/usr/local/bin/x86_64-unknown-freebsd14.0-ld: final link failed:
nonrepresentable section on output
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [hcidump] Error code 1

MFH:		2021Q4
2021-10-05 14:01:44 -07:00

24 lines
584 B
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
PORTNAME= hcidump
PORTVERSION= 1.5.1
CATEGORIES= comms sysutils
MASTER_SITES= http://bsd-geek.de/FreeBSD/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Bluetooth traffic dumper, similar to tcpdump
LICENSE= GPLv2
BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment
USES= uidfix
WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}
CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes -fPIE
PLIST_FILES= bin/hcidump man/man1/hcidump.1.gz
.include <bsd.port.mk>