summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-10 19:19:57 +0000
committerhasso <hasso>2009-07-10 19:19:57 +0000
commitd822c95b32b7c0a9886762a67796b868a354bfd6 (patch)
tree2f388aa544536cb9dad9614152e9c60372f85380 /sysutils
parentd23245502919f9fcecb43d4f0e6075543bd14f52 (diff)
downloadpkgsrc-d822c95b32b7c0a9886762a67796b868a354bfd6.tar.gz
Make it build on DragonFly and FreeBSD.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-power-manager/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index 111364110a8..e7d8919c524 100644
--- a/sysutils/gnome-power-manager/Makefile
+++ b/sysutils/gnome-power-manager/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2009/02/24 15:14:01 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/10 19:19:57 hasso Exp $
#
DISTNAME= gnome-power-manager-2.24.4
@@ -26,6 +26,12 @@ CONFIGURE_ENV+= ac_cv_path_DOCBOOK2MAN=no
GCONF_SCHEMAS+= gnome-power-manager.schemas
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
+BUILDLINK_TRANSFORM+= rm:-lresolv
+.endif
+
.include "../../devel/GConf/schemas.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"