diff options
-rw-r--r-- | sysutils/asapm/Makefile | 8 | ||||
-rw-r--r-- | sysutils/kapm/Makefile | 6 | ||||
-rw-r--r-- | sysutils/xbatt/Makefile | 6 |
3 files changed, 15 insertions, 5 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 diff --git a/sysutils/kapm/Makefile b/sysutils/kapm/Makefile index 189db51307a..848c3b0883f 100644 --- a/sysutils/kapm/Makefile +++ b/sysutils/kapm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2000/04/12 23:33:37 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.4 2000/06/26 16:44:21 dmcmahill Exp $ # DISTNAME= kapm-0.3.1 @@ -8,6 +8,10 @@ MASTER_SITES= ftp://bodnar42.dhs.org/pub/kapm/ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://bodnar42.dhs.org/kapm/ +.if !exists(/usr/include/machine/apmvar.h") +IGNORE+= "APM is not available for ${MACHINE_PLATFORM}" +.endif + DEPENDS+= kdebase-1.1.2:../../x11/kdebase USE_X11BASE= YES # to get things near KDE 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 |