1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/textproc/turboxsl/Makefile
Robert Clausecker 0861f30e1c 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)
2023-04-18 23:55:29 +02:00

30 lines
655 B
Makefile

PORTNAME= turboxsl
DISTVERSION= b03c2c9
PORTEPOCH= 1
CATEGORIES= textproc
MAINTAINER= hrs@FreeBSD.org
COMMENT= Fast, multithreaded XML+XSLT transformation library
WWW= https://github.com/Litres/turboxsl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le sparc64
LIB_DEPENDS= libck.so:devel/concurrencykit \
libmemcached.so:databases/libmemcached
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
.include <bsd.port.mk>