aboutsummaryrefslogtreecommitdiff
path: root/graphics/quat
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-13 08:43:40 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-13 10:06:14 +0000
commit9478f7bb95a4923e7535303bb7a6639791ccc27a (patch)
tree09235485a549eb7da7fd22d29133e524748ac359 /graphics/quat
parent2f4369553624f34cf2f23a7d6239a3e8ad87b7aa (diff)
downloadports-9478f7bb95a4923e7535303bb7a6639791ccc27a.tar.gz
ports-9478f7bb95a4923e7535303bb7a6639791ccc27a.zip
graphics/quat: Fix build with llvm15
- Pet portclippy - Adopt port
Diffstat (limited to 'graphics/quat')
-rw-r--r--graphics/quat/Makefile14
1 files 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' \