Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 14:05:33 GMT
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c44991d018b - main - security/clamav-lts: Remove special casing for GCC
Message-ID:  <202302251405.31PE5XWZ038796@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c44991d018bcb4e24cf664a236bebb7b760ddb3

commit 1c44991d018bcb4e24cf664a236bebb7b760ddb3
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2023-02-25 14:02:13 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2023-02-25 14:05:18 +0000

    security/clamav-lts: Remove special casing for GCC
    
    GCC no longer serves as system compiler and we are not forcing it in
    any other way here.
    
    (Also, GCC 7 years ago added a -Wno-dangling-else option.)
    
    Approved by:    yasu (maintainer)
---
 security/clamav-lts/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/security/clamav-lts/Makefile b/security/clamav-lts/Makefile
index 7952c7739c41..66a3cc7e3e4c 100644
--- a/security/clamav-lts/Makefile
+++ b/security/clamav-lts/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libltdl.so:devel/libltdl \
 		libmspack.so:archivers/libmspack
 
-USES=		compiler cpe gmake gnome libtool ncurses pathfix pkgconfig ssl
+USES=		cpe gmake gnome libtool ncurses pathfix pkgconfig ssl
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	clamav-clamd clamav-freshclam
 
@@ -145,13 +145,6 @@ post-patch:
 		${WRKSRC}/etc/clamd.conf.sample \
 		${WRKSRC}/etc/freshclam.conf.sample \
 		${WRKSRC}/etc/clamav-milter.conf.sample
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-	@${REINPLACE_CMD} -e 's|-Wno-logical-op-parentheses||' \
-			  -e 's|-Wno-dangling-else||' \
-		${WRKSRC}/libclamav/Makefile.am \
-		${WRKSRC}/libclamav/Makefile.in \
-		${WRKSRC}/libclamunrar/makefile
-.endif
 
 pre-configure-TESTS-on:
 	@if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302251405.31PE5XWZ038796>