git: 9478f7bb95a4 - main - graphics/quat: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Jun 2023 10:06:23 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9478f7bb95a4923e7535303bb7a6639791ccc27a commit 9478f7bb95a4923e7535303bb7a6639791ccc27a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-13 08:43:40 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-13 10:06:14 +0000 graphics/quat: Fix build with llvm15 - Pet portclippy - Adopt port --- graphics/quat/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/graphics/quat/Makefile b/graphics/quat/Makefile index aa9cde37dbe2..dd848cacce9d 100644 --- a/graphics/quat/Makefile +++ b/graphics/quat/Makefile @@ -3,23 +3,29 @@ PORTVERSION= 1.20 CATEGORIES= graphics MASTER_SITES= https://www.physcip.uni-stuttgart.de/pages/~phy11733/download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Three-dimensional fractal creator (command line only) WWW= https://www.physcip.uni-stuttgart.de/pages/~phy11733/index_e.html LICENSE= GPLv2+ -OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS - GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gui \ --datadir=${PREFIX}/share/doc -PORTDOCS= * PLIST_FILES= bin/quat-txt +PORTDOCS= * + +OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math +.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 -e \ 's,-(march=pentium|O3|ffast-math),,g' \