aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2023-04-11 01:25:14 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-04-11 23:02:44 +0000
commit4f6949193ddb253c217ee7be55194fd8693223f2 (patch)
tree2349bb3349ba7f3563b4759dbb27e13d4cf93c22
parent1d834b477266c24eeee5c6debeaf93829336b0bf (diff)
downloadports-4f6949193ddb253c217ee7be55194fd8693223f2.tar.gz
ports-4f6949193ddb253c217ee7be55194fd8693223f2.zip
net/ss5: unbreak on FreeBSD 13+
Build with -fcommon to avoid a duplicate symbol error. Approved by: portmgr (build fix blanket)
-rw-r--r--net/ss5/Makefile6
1 files 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