1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/net/radsecproxy/Makefile
Muhammad Moinur Rahman 9b178ffd7e */*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.

Approved by:	portmgr (blanket)
2023-05-17 18:30:15 +02:00

35 lines
858 B
Makefile

PORTNAME= radsecproxy
DISTVERSION= 1.9.2
CATEGORIES= net
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Generic RADIUS proxy
WWW= https://radsecproxy.github.io
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libnettle.so:security/nettle
USES= compiler:c11 cpe localbase:ldflags ssl
CPE_VENDOR= uninett
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE}
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=strict-prototypes
.endif
post-install:
${MAKE} install-man -C ${WRKSRC} ${MAKE_ARGS}
${INSTALL_DATA} ${WRKSRC}/radsecproxy.conf-example \
${STAGEDIR}${PREFIX}/etc
.include <bsd.port.post.mk>