git: 8111a7a3fc3f - main - lang/qscheme: Fix buils with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Jun 2023 19:16:36 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8111a7a3fc3f0c89e9035e23bd42339a725d1897 commit 8111a7a3fc3f0c89e9035e23bd42339a725d1897 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-11 18:41:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-11 19:16:22 +0000 lang/qscheme: Fix buils with llvm15 - Pet portclippy - Adopt port --- lang/qscheme/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lang/qscheme/Makefile b/lang/qscheme/Makefile index cc6a035e0124..cd91e7fb45fe 100644 --- a/lang/qscheme/Makefile +++ b/lang/qscheme/Makefile @@ -4,7 +4,7 @@ PORTREVISION= 10 CATEGORIES= lang scheme MASTER_SITES= http://www.sof.ch/dan/qscheme/files/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Small and fast Scheme interpreter WWW= https://www.sof.ch/dan/qscheme/index-e.html @@ -16,17 +16,26 @@ LIB_DEPENDS= libavcall.so:devel/libffcall \ USES= gmake localbase perl5 shebangfix USE_PERL5= build + SHEBANG_FILES= mkoptable + GNU_CONFIGURE= yes -CFLAGS+= -fPIC MAKE_ARGS= PCRE_LIB="-L${LOCALBASE}/lib -lpcre" +CFLAGS+= -fPIC + PLIST_SUB= VERSION="${PORTVERSION}" PORTDOCS= * OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|-lpthread|-pthread| ; \