Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2020 08:05:46 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547338 - head/games/xboard
Message-ID:  <202009020805.08285kO1028203@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Wed Sep  2 08:05:46 2020
New Revision: 547338
URL: https://svnweb.freebsd.org/changeset/ports/547338

Log:
  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)

Modified:
  head/games/xboard/Makefile

Modified: head/games/xboard/Makefile
==============================================================================
--- head/games/xboard/Makefile	Wed Sep  2 07:51:59 2020	(r547337)
+++ head/games/xboard/Makefile	Wed Sep  2 08:05:46 2020	(r547338)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009020805.08285kO1028203>