1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/audio/id3lib/Makefile
Piotr Kubaj f6a1d782da audio/id3lib: fix build on powerpc 12.1-RELEASE
Error:
`_ZTSN12_GLOBAL__N_117ConstIteratorImplE' referenced in section `.data.rel.ro' of tag.lo: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_117ConstIteratorImplE[_ZTSN12_GLOBAL__N_117ConstIteratorImplE]' of tag.lo

Using newer binutils alone doesn't help, but using also newer GCC helps.

PR:		243715
Reported by:	canardo909@gmx.com
2020-04-05 14:04:27 +00:00

35 lines
1.0 KiB
Makefile

# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
PORTNAME= id3lib
PORTVERSION= 3.8.3
PORTREVISION= 10
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for manipulating ID3v1/v1.1 and ID3v2 tags
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= fails to link: '_ZTSN12_GLOBAL__N_117ConstIteratorImplE' referenced in section '.data.rel.ro' of tag.lo: defined in discarded section
BROKEN_mips64= fails to link: '_ZTSN12_GLOBAL__N_117ConstIteratorImplE' referenced in section '.data.rel.ro' of tag.lo: defined in discarded section
USES= compiler:c11 iconv libtool localbase
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
post-extract:
@${RM} -r ${WRKSRC}/zlib
post-patch:
@${REINPLACE_CMD} '/main/ s|unsigned int|int|' ${WRKSRC}/examples/demo_*.cpp
@${REINPLACE_CMD} 's|\(iomanip\)\.h|\1|' ${WRKSRC}/configure
@${REINPLACE_CMD} '/include.*/ { p; s||include <cstring>|; n; n; n; }' \
${WRKSRC}/include/id3/id3lib_strings.h \
${WRKSRC}/include/id3/writers.h
.include <bsd.port.mk>