Date: Tue, 6 Jun 2023 20:45:48 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f6f2fb03b500 - main - lang/sketchy: Fix build with llvm15 Message-ID: <202306062045.356KjmaW026166@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6f2fb03b500da0aff51b7c204f5d2fe4d65d982 commit f6f2fb03b500da0aff51b7c204f5d2fe4d65d982 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-06 20:06:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-06 20:45:26 +0000 lang/sketchy: Fix build with llvm15 - Adopt port --- lang/sketchy/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lang/sketchy/Makefile b/lang/sketchy/Makefile index cb29aba810fa..56e56f36120f 100644 --- a/lang/sketchy/Makefile +++ b/lang/sketchy/Makefile @@ -4,7 +4,7 @@ PORTREVISION= 1 CATEGORIES= lang devel lisp scheme MASTER_SITES= SF/sketchy-lisp/sketchy-lisp/2007-02-18 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Interpreter for purely applicative Scheme WWW= http://sketchy-lisp.sourceforge.net/ @@ -13,6 +13,12 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/sketchy.h @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/src/pp.scm @@ -26,4 +32,4 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsketchy.so ${LN} -s sketchy.1.gz ${STAGEDIR}${MANPREFIX}/man/man1/sk.1.gz -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306062045.356KjmaW026166>