summaryrefslogtreecommitdiff
path: root/sysutils/gnome-power-manager/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-power-manager/Makefile')
-rw-r--r--sysutils/gnome-power-manager/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index 55ff2fda44e..8f4d12cfe94 100644
--- a/sysutils/gnome-power-manager/Makefile
+++ b/sysutils/gnome-power-manager/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/01/13 10:55:32 obache Exp $
+# $NetBSD: Makefile,v 1.19 2012/01/20 17:02:55 joerg Exp $
#
DISTNAME= gnome-power-manager-2.24.4
@@ -27,11 +27,16 @@ CONFIGURE_ENV+= ac_cv_path_DOCBOOK2MAN=no
GCONF_SCHEMAS+= gnome-power-manager.schemas
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
BUILDLINK_TRANSFORM+= rm:-lresolv
.endif
+.if ${PKGSRC_COMPILER:Mclang}
+CFLAGS+= -Wno-tautological-compare
+.endif
+
.include "../../devel/GConf/schemas.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"