diff options
author | dmcmahill <dmcmahill> | 2000-12-29 16:30:05 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-12-29 16:30:05 +0000 |
commit | cb6faefc51d0b09ce4c6b08f9bb8688a89713751 (patch) | |
tree | cce2437cc33ed3a38874fac7f2645082b5dae629 /sysutils | |
parent | a50ddc48f25d78c4006226494a9205125c8ac622 (diff) | |
download | pkgsrc-cb6faefc51d0b09ce4c6b08f9bb8688a89713751.tar.gz |
add check for apm capability (like in xbatt)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xbattbar/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/xbattbar/Makefile b/sysutils/xbattbar/Makefile index f20afa0a7c8..a38cd5f7292 100644 --- a/sysutils/xbattbar/Makefile +++ b/sysutils/xbattbar/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/12/14 22:21:58 itojun Exp $ +# $NetBSD: Makefile,v 1.3 2000/12/29 16:30:05 dmcmahill Exp $ DISTNAME= xbattbar_1.4 PKGNAME= xbattbar-1.4 @@ -12,6 +12,10 @@ USE_X11BASE= YES USE_IMAKE= YES WRKSRC= ${WRKDIR}/xbattbar +.if !exists(/usr/include/machine/apmvar.h) +IGNORE+= "APM is not available for ${MACHINE_PLATFORM}" +.endif + post-install: ${INSTALL_MAN} ${WRKSRC}/xbattbar.man ${PREFIX}/man/man1/xbattbar.1 |