Skip to content

Commit

Permalink
converters/ish: Fix build with llvm15
Browse files Browse the repository at this point in the history
- Add LICENSE NONE
  • Loading branch information
5u623l20 committed Jun 5, 2023
1 parent 0b6472a commit cf36cf6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion converters/ish/Makefile
Expand Up @@ -8,13 +8,21 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary-to-text file-encoder

LICENSE= NONE

MAKEFILE= makefile
MAKE_ARGS= CFLAGS="${CFLAGS}" DEST=${PREFIX}/bin
ALL_TARGET= ish

PLIST_FILES= bin/ish

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ish ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit cf36cf6

Please sign in to comment.