mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/bindtest: Fix build on llvm15
Approved by: portmgr (blanket)
This commit is contained in:
parent
b8d30de51c
commit
f13fd5ee65
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@ USES= tar:tgz
|
||||||
|
|
||||||
PLIST_FILES= bin/bindtest bin/bindtest.sh man/man1/bindtest.1.gz
|
PLIST_FILES= bin/bindtest bin/bindtest.sh man/man1/bindtest.1.gz
|
||||||
|
|
||||||
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||||
|
CFLAGS+= -Wno-error=deprecated-non-prototype
|
||||||
|
.endif
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/bindtest ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/bindtest ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/test.sh \
|
${INSTALL_SCRIPT} ${WRKSRC}/test.sh \
|
||||||
|
|
Loading…
Add table
Reference in a new issue