Skip to content

Commit

Permalink
shells/klish: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 5, 2023
1 parent ab2a75c commit 7ab7659
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion shells/klish/Makefile
Expand Up @@ -11,8 +11,16 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENCE

USES= libtool tar:xz
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

GNU_CONFIGURE= yes

INSTALL_TARGET= install-strip

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

.include <bsd.port.mk>

0 comments on commit 7ab7659

Please sign in to comment.