pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gnome-power-manager Make it build on DragonFl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2876f9e06db6
branches:  trunk
changeset: 395691:2876f9e06db6
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Jul 10 19:19:57 2009 +0000

description:
Make it build on DragonFly and FreeBSD.

diffstat:

 sysutils/gnome-power-manager/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 2a94cfa259a6 -r 2876f9e06db6 sysutils/gnome-power-manager/Makefile
--- a/sysutils/gnome-power-manager/Makefile     Fri Jul 10 19:18:53 2009 +0000
+++ b/sysutils/gnome-power-manager/Makefile     Fri Jul 10 19:19:57 2009 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index