1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Piotr Kubaj 2020-10-09 13:07:16 +00:00
parent 3eea9a6936
commit eb9956bcf7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551767

View File

@ -8,19 +8,11 @@ MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/
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
.include <bsd.port.mk>