git: 0861f30e1cf4 - main - textproc/turboxsl: work around duplicate symbol issue
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 21:55:52 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=0861f30e1cf4a2ef74fbc58f8566fa0077ec76c4 commit 0861f30e1cf4a2ef74fbc58f8566fa0077ec76c4 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-04-17 14:57:15 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-04-18 21:55:29 +0000 textproc/turboxsl: work around duplicate symbol issue Add -fcommon to CFLAGS to work around a duplicate symbol issue. This fixes the build on FreeBSD 13+. While we are at it, enable on arm64 (builds fine). Approved by: portmgr (build fix blanket) --- textproc/turboxsl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/textproc/turboxsl/Makefile b/textproc/turboxsl/Makefile index c26d23ba6cd7..ba51888fe3cc 100644 --- a/textproc/turboxsl/Makefile +++ b/textproc/turboxsl/Makefile @@ -10,9 +10,7 @@ WWW= https://github.com/Litres/turboxsl LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_FreeBSD_13= ld: error: duplicate symbol: xsl_a_NaN -BROKEN_FreeBSD_14= ld: error: duplicate symbol: xsl_a_NaN -ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le sparc64 LIB_DEPENDS= libck.so:devel/concurrencykit \ libmemcached.so:databases/libmemcached @@ -21,7 +19,9 @@ USES= autoreconf libtool pathfix pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= Litres + GNU_CONFIGURE= yes +CFLAGS+= -fcommon CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip