Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 23:40: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: r486809 - head/devel/libdbusmenu
Message-ID:  <201812062340.wB6NeFnN047289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Dec  6 23:40:15 2018
New Revision: 486809
URL: https://svnweb.freebsd.org/changeset/ports/486809

Log:
  -Wno-unused-value is needed to build with base GCC.
  
  While here, add USES=gnome.
  
  PR:		232608
  Submitted by:	Piotr Kubaj

Modified:
  head/devel/libdbusmenu/Makefile

Modified: head/devel/libdbusmenu/Makefile
==============================================================================
--- head/devel/libdbusmenu/Makefile	Thu Dec  6 23:33:46 2018	(r486808)
+++ head/devel/libdbusmenu/Makefile	Thu Dec  6 23:40:15 2018	(r486809)
@@ -22,7 +22,8 @@ BUILD_DEPENDS=	vapigen:lang/vala \
 LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib
 
 GNU_CONFIGURE=	yes
-USES=		gmake libtool pathfix pkgconfig python:run shebangfix
+USES=		compiler gmake gnome libtool pathfix pkgconfig python:run \
+		shebangfix
 USE_GNOME=	gnomedocutils:build glib20 intltool intlhack libxslt \
 		introspection:build gtk30
 USE_XORG=	x11
@@ -43,4 +44,10 @@ CONFIGURE_ARGS=	--disable-static \
 	--enable-vala \
 	--with-gtk=3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == gcc
+CFLAGS+=	-Wno-unused-value
+.endif
+
+.include <bsd.port.post.mk>



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