Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2020 13:07:16 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r551767 - head/devel/libindicator
Message-ID:  <202010091307.099D7G2S061492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Oct  9 13:07:16 2020
New Revision: 551767
URL: https://svnweb.freebsd.org/changeset/ports/551767

Log:
  devel/libindicator: fix build on powerpc64 elfv1 and remove stale CFLAGS
  
  Build on both elfv1 and elfv2 passes fine. Other architectures are untested, but they currently don't have Rust available, making build impossible.
  
  Require newer GCC to build on elfv1:
  cc1: warnings being treated as errors
  In file included from /usr/local/include/glib-2.0/glib/gthread.h:34,
                   from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32,
                   from /usr/local/include/glib-2.0/glib.h:32,
                   from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13,
                   from /usr/local/include/gtk-3.0/gdk/gdk.h:30,
                   from /usr/local/include/gtk-3.0/gtk/gtk.h:30,
                   from indicator-loader.c:25:
  /usr/local/include/glib-2.0/glib/gutils.h:336: warning: 'GVoidFunc' is deprecated

Modified:
  head/devel/libindicator/Makefile

Modified: head/devel/libindicator/Makefile
==============================================================================
--- head/devel/libindicator/Makefile	Fri Oct  9 12:00:44 2020	(r551766)
+++ head/devel/libindicator/Makefile	Fri Oct  9 13:07:16 2020	(r551767)
@@ -8,18 +8,10 @@ MASTER_SITES=	https://launchpad.net/${PORTNAME}/${PORT
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Symbols and convience functions for desktop indicators
 
-USES=		gmake gnome libtool pkgconfig
+USES=		compiler:c++11-lang gmake gnome libtool pkgconfig
 USE_GNOME=	cairo gdkpixbuf2 gtk30
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-
-CFLAGS_powerpc=		-Wno-unused-value
-CFLAGS_powerpc64=	-Wno-unused-value
-CFLAGS_powerpc64le=	-Wno-unused-value
-CFLAGS_powerpcspe=	-Wno-unused-value
-CFLAGS_mips=	-Wno-unused-value
-CFLAGS_mips64=	-Wno-unused-value
-CFLAGS_sparc64=	-Wno-unused-value
 
 INSTALL_TARGET=	install-strip
 



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