Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:34:15 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483757 - head/deskutils/xneur
Message-ID:  <201811020134.wA21YF5U037071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Nov  2 01:34:15 2018
New Revision: 483757
URL: https://svnweb.freebsd.org/changeset/ports/483757

Log:
  Fix build with GCC-based architectures.
  
  PR:		232848
  Submitted by:	Piotr Kubaj

Modified:
  head/deskutils/xneur/Makefile

Modified: head/deskutils/xneur/Makefile
==============================================================================
--- head/deskutils/xneur/Makefile	Fri Nov  2 01:33:37 2018	(r483756)
+++ head/deskutils/xneur/Makefile	Fri Nov  2 01:34:15 2018	(r483757)
@@ -14,15 +14,20 @@ COMMENT=	Auto keyboard switcher
 
 LICENSE=	GPLv2
 
-BROKEN_powerpc64=	fails to compile: text.c:272: nested functions are disabled, use -fnested-functions to re-enable
-
 LIB_DEPENDS=	libnotify.so:devel/libnotify \
 		libpcre.so:devel/pcre
 
-USES=		compiler:nestedfct iconv libtool localbase pathfix pkgconfig
+USES=		compiler:nestedfct gnome iconv libtool localbase pathfix \
+		pkgconfig
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static --libdir=${PREFIX}/lib/xneur
+CFLAGS_mips=	-fnested-functions
+CFLAGS_mips64=	-fnested-functions
+CFLAGS_powerpc=	-fnested-functions
+CFLAGS_powerpcspe=	-fnested-functions
+CFLAGS_powerpc64=	-fnested-functions
+CFLAGS_sparc64=	-fnested-functions
 
 USE_LDCONFIG=	${PREFIX}/lib/xneur ${PREFIX}/lib/xneur/xneur
 INSTALLS_ICONS=	yes



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