pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-battery-plugin On NetBSD, this cannot b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b61cba21381
branches: trunk
changeset: 536949:7b61cba21381
user: hira <hira%pkgsrc.org@localhost>
date: Sun Dec 30 09:37:23 2007 +0000
description:
On NetBSD, this cannot be built without APM.
Set PKG_FAIL_REASON if APM is not available.
diffstat:
sysutils/xfce4-battery-plugin/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 6e61683be7a2 -r 7b61cba21381 sysutils/xfce4-battery-plugin/Makefile
--- a/sysutils/xfce4-battery-plugin/Makefile Sun Dec 30 09:15:51 2007 +0000
+++ b/sysutils/xfce4-battery-plugin/Makefile Sun Dec 30 09:37:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/05/04 10:13:12 hira Exp $
+# $NetBSD: Makefile,v 1.4 2007/12/30 09:37:23 hira Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -10,6 +10,10 @@
MASTER_SITES= http://goodies.xfce.org/releases/xfce4-battery-plugin/
COMMENT= Xfce battey monitor plugin
+.if ${OPSYS} == "NetBSD" && !exists(/usr/include/machine/apmvar.h)
+PKG_FAIL_REASON+= "APM is not available on ${MACHINE_PLATFORM}."
+.endif
+
USE_TOOLS+= perl:run
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index