summaryrefslogtreecommitdiff
path: root/sysutils/asapm
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/asapm
parent54c29e59229ed03be87403692da68acb5b05d05c (diff)
downloadpkgsrc-a041b5627e5f7b05586bcbb647655de92934f0a7.tar.gz
only allow these packages on APM capable machines.
Diffstat (limited to 'sysutils/asapm')
-rw-r--r--sysutils/asapm/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/asapm/Makefile b/sysutils/asapm/Makefile
index aaa779630b8..a6edce2f4f8 100644
--- a/sysutils/asapm/Makefile
+++ b/sysutils/asapm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/01/16 18:37:05 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/06/26 16:44:20 dmcmahill Exp $
# FreeBSD Id: Makefile,v 1.5 1998/11/29 12:43:12 asami Exp
#
@@ -11,9 +11,11 @@ MASTER_SITES= http://www.tigr.net/afterstep/as-apps/download/asapm/ \
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.tigr.net/afterstep/as-apps/download/asapm/
-DEPENDS= xpm-*:../../graphics/xpm
+.if !exists(/usr/include/machine/apmvar.h")
+IGNORE+= "APM is not available for ${MACHINE_PLATFORM}"
+.endif
-ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc # needs APM support
+DEPENDS+= xpm-*:../../graphics/xpm
GNU_CONFIGURE= yes
USE_X11= yes