aboutsummaryrefslogtreecommitdiff
path: root/games/xboard
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-09-02 08:05:46 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-09-02 08:05:46 +0000
commit5f2f3efcd65f6b3bd436d23ad68af3c278de222a (patch)
treef4f6e403eabb460d8d0040cd210ff3eca9ee1225 /games/xboard
parent93d8dbd1a8dca23698b4a25602cf170fa7d6c834 (diff)
downloadports-5f2f3efcd65f6b3bd436d23ad68af3c278de222a.tar.gz
ports-5f2f3efcd65f6b3bd436d23ad68af3c278de222a.zip
devel/xboard: fix build in 13-current
Another case of -fno-common This fixes the slave port devel/xboard-devel too. While here, add missing USE_XORG modules. PR: 248984 Reported by: kalten@gmx.at MFH: 2020Q3 (build fix, -fno-common)
Notes
Notes: svn path=/head/; revision=547338
Diffstat (limited to 'games/xboard')
-rw-r--r--games/xboard/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 1de46f83a052..00a60f614347 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -60,7 +60,7 @@ GTK2_CONFIGURE_WITH= gtk
USES+= desktop-file-utils gnome makeinfo perl5 pkgconfig \
shared-mime-info shebangfix xorg
-USE_XORG+= xt xpm
+USE_XORG+= ice sm x11 xmu xt xpm
USE_GNOME+= librsvg2
.if ${PORT_OPTIONS:MXAW}
USE_XORG+= xaw
@@ -72,7 +72,7 @@ SHEBANG_FILES= texi2man
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=MKDIR_P="${MKDIR}" PERLPATH=${PERL}
-CFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include -fcommon
LDFLAGS+= -L${LOCALBASE}/lib
INFO= xboard
USE_PERL5= build