svn commit: r486809 - head/devel/libdbusmenu
Mark Linimon
linimon at FreeBSD.org
Thu Dec 6 23:40:17 UTC 2018
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>
More information about the svn-ports-head
mailing list