From 8111a7a3fc3f0c89e9035e23bd42339a725d1897 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sun, 11 Jun 2023 20:41:50 +0200 Subject: 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 + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|-lpthread|-pthread| ; \ -- cgit v1.2.3