diff options
author | dmcmahill <dmcmahill> | 2000-06-26 16:44:20 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-06-26 16:44:20 +0000 |
commit | 683cde2a805ca02fd0dfbe36daa4fe4471a38e6d (patch) | |
tree | 2359e6af7ef1d854941dfdf42898db6d58673952 /sysutils/xbatt | |
parent | dbd5bec279f7affd2095abb02f65301db72c9c2a (diff) | |
download | pkgsrc-683cde2a805ca02fd0dfbe36daa4fe4471a38e6d.tar.gz |
only allow these packages on APM capable machines.
Diffstat (limited to 'sysutils/xbatt')
-rw-r--r-- | sysutils/xbatt/Makefile | 6 |
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 |