git: 4f6949193ddb - main - net/ss5: unbreak on FreeBSD 13+

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 11 Apr 2023 23:04:28 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f6949193ddb253c217ee7be55194fd8693223f2

commit 4f6949193ddb253c217ee7be55194fd8693223f2
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-11 01:25:14 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-11 23:02:44 +0000

    net/ss5: unbreak on FreeBSD 13+
    
    Build with -fcommon to avoid a duplicate symbol error.
    
    Approved by:    portmgr (build fix blanket)
---
 net/ss5/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/net/ss5/Makefile b/net/ss5/Makefile
index a5a5a223a4b4..42083975e752 100644
--- a/net/ss5/Makefile
+++ b/net/ss5/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ss5
 DISTVERSION=	3.8.9-8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 
@@ -11,9 +11,6 @@ WWW=		http://ss5.sourceforge.net/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/License
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: ACMutex
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: ACMutex
-
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-[0-9]+//}
 
 USES=		ldap ssl
@@ -27,6 +24,7 @@ CONFIGURE_ARGS=	--with-binpathbase=${PREFIX}/sbin \
 
 MAKE_ENV=	DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR}
 MAKE_ARGS+=	CC="${CC}"
+CFLAGS+=	-fcommon
 
 OPTIONS_DEFINE=	DOCS EXAMPLES