svn commit: r483757 - head/deskutils/xneur

Mark Linimon linimon at FreeBSD.org
Fri Nov 2 01:34:16 UTC 2018


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


More information about the svn-ports-all mailing list