From 1af65c3632466bb831ee83af7da5ff9afb1e4b8c Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Sat, 24 Nov 2018 07:15:57 +0000 Subject: [PATCH] Add compiler:c11 to USES to fix build with GCC-based architectures. PR: 232558 Submitted by: Piotr Kubaj Reviewed by: Ting-Wei Lan Approved by: portmgr (tier-2 blanket) --- sysutils/upower/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile index 82f9b20d18ba..3582bc3775af 100644 --- a/sysutils/upower/Makefile +++ b/sysutils/upower/Makefile @@ -15,7 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libdbus-glib-1.so:devel/dbus-glib -USES= gettext gmake libtool localbase pathfix pkgconfig tar:xz +USES= compiler:c11 gettext gmake gnome libtool localbase \ + pathfix pkgconfig tar:xz USE_GNOME= intlhack glib20 introspection:build GNU_CONFIGURE= yes USE_LDCONFIG= yes