Files
ports/textproc/libucl/Makefile
Rene Ladan 620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00

61 lines
1.5 KiB
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= libucl
PORTVERSION= 0.8.1
CATEGORIES= textproc devel
MAINTAINER= koobs@FreeBSD.org
COMMENT= Universal configuration library parser
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= fails to link: undefined reference to '__sync_add_and_fetch_4'
BROKEN_mips64= fails to link: undefined reference to '__sync_add_and_fetch_4'
USES= autoreconf gmake libtool pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= ucl
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= LUA REGEX SIGNATURES URLS UTILS
OPTIONS_DEFAULT= REGEX UTILS
OPTIONS_SUB= yes
REGEX_DESC= Enable regex checking for schema
SIGNATURES_DESC= Enable signatures checking
URLS_DESC= Enable fetching URLs
UTILS_DESC= Enable tools: ucl_chargen, ucl_ucldump, ucl_tool
LUA_CONFIGURE_ENABLE= lua
LUA_CONFIGURE_ENV= LUA=${LOCALBASE}/bin/${LUA_CMD}
LUA_LDFLAGS= -L${LUA_LIBDIR}
LUA_USES= lua
REGEX_CONFIGURE_ENABLE= regex
SIGNATURES_CONFIGURE_ENABLE= signatures
SIGNATURES_CPPFLAGS= -I${OPENSSLINC}
SIGNATURES_LDFLAGS= -L${OPENSSLLIB}
SIGNATURES_USES= ssl
URLS_CONFIGURE_ENABLE= urls
UTILS_CONFIGURE_ENABLE= utils
.include <bsd.port.options.mk>
# https://github.com/vstakhov/libucl/issues/203
.if ${PORT_OPTIONS:MSIGNATURES} && ((${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl)
BROKEN= Signatures checking support does not build with OpenSSL 1.1.1
.endif
.include <bsd.port.mk>