1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/security/pam_ocra/Makefile
Muhammad Moinur Rahman 95274bf4f9 */*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.

- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
  1302507 and less than 1400000

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-07-26 02:48:20 +02:00

32 lines
659 B
Makefile

PORTNAME= pam_ocra
DISTVERSION= 1.6
CATEGORIES= security
MAINTAINER= sg2342@googlemail.com
COMMENT= RFC6287 (OCRA) PAM module
WWW= https://github.com/sg2342/pam_ocra
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= ssl uidfix
USE_GITHUB= yes
GH_ACCOUNT= sg2342
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
PLIST_FILES= lib/pam_ocra.so \
lib/pam_ocra.so.0 \
sbin/ocra_tool \
man/man8/pam_ocra.8.gz \
man/man8/ocra_tool.8.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=cast-align
.endif
.include <bsd.port.mk>