git: 0b4782163a46 - main - graphics/dspdfviewer: Remove OSVERSION conditionals
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Sep 2023 23:21:03 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0b4782163a465b976de41ff52a2b04030693b9ae
commit 0b4782163a465b976de41ff52a2b04030693b9ae
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-29 19:34:42 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-29 23:20:54 +0000
graphics/dspdfviewer: Remove OSVERSION conditionals
Minimum supported OSVERSION is 120400 by the port infrastructure so no
need for additional conditions.
Approved by: portmgr (blanket)
---
graphics/dspdfviewer/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
index 49ce4329c964..6c79ac529870 100644
--- a/graphics/dspdfviewer/Makefile
+++ b/graphics/dspdfviewer/Makefile
@@ -51,7 +51,7 @@ CFLAGS+= -Wno-error=extra-semi-stmt
.endif
# Fixes build failure for Clang 11.0.0
-.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1300111 || ${OSVERSION} >= 1204000) && ${CHOSEN_COMPILER_TYPE} == clang
+.if ${OPSYS} == FreeBSD && ${CHOSEN_COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=suggest-destructor-override
CFLAGS+= -Wno-error=suggest-override
.endif