Skip to content

Commit

Permalink
net/ss5: unbreak on FreeBSD 13+
Browse files Browse the repository at this point in the history
Build with -fcommon to avoid a duplicate symbol error.

Approved by:	portmgr (build fix blanket)
  • Loading branch information
clausecker committed Apr 11, 2023
1 parent 1d834b4 commit 4f69491
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 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}

Expand All @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 4f69491

Please sign in to comment.