diff options
-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 |