summaryrefslogtreecommitdiff
path: root/sysutils/xbatt
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-06-26 16:44:20 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-06-26 16:44:20 +0000
commita041b5627e5f7b05586bcbb647655de92934f0a7 (patch)
tree2359e6af7ef1d854941dfdf42898db6d58673952 /sysutils/xbatt
parent54c29e59229ed03be87403692da68acb5b05d05c (diff)
downloadpkgsrc-a041b5627e5f7b05586bcbb647655de92934f0a7.tar.gz
only allow these packages on APM capable machines.
Diffstat (limited to 'sysutils/xbatt')
-rw-r--r--sysutils/xbatt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/xbatt/Makefile b/sysutils/xbatt/Makefile
index e7945a8453c..907b868f0af 100644
--- a/sysutils/xbatt/Makefile
+++ b/sysutils/xbatt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/10/31 21:16:07 hubertf Exp $
+# $NetBSD: Makefile,v 1.2 2000/06/26 16:44:22 dmcmahill Exp $
#
DISTNAME= xbatt-1.3pr1
@@ -9,6 +9,10 @@ MASTER_SITES= http://www2.clave.gr.jp/~eto/xbatt/
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www2.clave.gr.jp/~eto/xbatt/ # Not really
+.if !exists(/usr/include/machine/apmvar.h")
+IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
+.endif
+
DEPENDS+= xpm-3.4k:../../graphics/xpm
USE_IMAKE= yes