freebsd-ports/devel/libbinio/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

28 lines
523 B
Makefile

PORTNAME= libbinio
PORTVERSION= 1.5
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= devel
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Binary I/O stream class library
WWW= https://adplug.github.io/libbinio/
LICENSE= LGPL21
USES= autoreconf compiler:c11 libtool pathfix
USE_CXXSTD= c++14
USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GH_ACCOUNT= adplug
INSTALL_TARGET= install-strip
PORTSCOUT= skipv:start
post-patch:
@${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|' ${WRKSRC}/Makefile.am
.include <bsd.port.mk>