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
35 lines
841 B
Makefile
35 lines
841 B
Makefile
PORTNAME= genht
|
|
DISTVERSION= 1.1.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.repo.hu/projects/genht/releases/
|
|
|
|
MAINTAINER= fuz@FreeBSD.org
|
|
COMMENT= Simple generic hash table implementation in C
|
|
WWW= http://www.repo.hu/projects/genht/
|
|
|
|
LICENSE= PD
|
|
|
|
USES= tar:bz2
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ARGS+= GENHT_CFLAGS='${CFLAGS}' \
|
|
GENHT_LDFLAGS='${STRIP} ${LDFLAGS}' \
|
|
PREFIX=${PREFIX}
|
|
|
|
PORTEXAMPLES= Makefile example.c examplev.c
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
|
.endif
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for f in ${PORTEXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|