add check for apm capability (like in xbatt)
This commit is contained in:
parent
6b1411fce4
commit
301bf607b1
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue