git: 81fea4f465ec - main - japanese/jishyo: work around duplicate symbol issue

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 17 Apr 2023 09:30:31 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=81fea4f465ecf09a31f99688d691c9fdd5430be3

commit 81fea4f465ecf09a31f99688d691c9fdd5430be3
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-16 13:38:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-17 09:27:26 +0000

    japanese/jishyo: work around duplicate symbol issue
    
     - add -fcommon to CPPFLAGS to enable a build with recent clang/gcc
     - this fixes the build on FreeBSD 13+
     - add missing GNUstep dependencies
---
 japanese/jishyo/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/japanese/jishyo/Makefile b/japanese/jishyo/Makefile
index 46d771fbb40d..6dea4597a5a4 100644
--- a/japanese/jishyo/Makefile
+++ b/japanese/jishyo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jishyo
 PORTVERSION=	0.1
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	japanese gnustep
 MASTER_SITES=	http://www.eskimo.com/~pburns/Dictionaries/files/
 DISTNAME=	Jishyo-${PORTVERSION}
@@ -11,13 +11,12 @@ WWW=		https://www.eskimo.com/~pburns/Dictionaries/
 
 LICENSE=	GPLv2+
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: DicDir
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: DicDir
-
 PORTSCOUT=	skipv:0.2
 
 USES=		gnustep
-USE_GNUSTEP=	back build
+USE_GNUSTEP=	back base build gui
+
+CPPFLAGS+=	-fcommon
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Jishyo.app/Jishyo