From 9efe9873ef6401826e7e23a5dc24abfec49c2ed3 Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 14 Apr 2008 14:02:40 +0000 Subject: [PATCH] - build this on all arches that have apm(4) support. spotted by Michiel van Baak ok ajacoutot@ --- x11/gnome/applets2/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/x11/gnome/applets2/Makefile b/x11/gnome/applets2/Makefile index 618b530d4b1..70afec10d92 100644 --- a/x11/gnome/applets2/Makefile +++ b/x11/gnome/applets2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.39 2008/02/04 17:55:18 jasper Exp $ +# $OpenBSD: Makefile,v 1.40 2008/04/14 14:02:40 jasper Exp $ COMMENT-main= applets for use with the GNOME panel COMMENT-battstat= GNOME applet for monitoring battery level @@ -7,7 +7,7 @@ GNOME_PROJECT= gnome-applets GNOME_VERSION= 2.20.0 PKGNAME-main= gnome-applets2-${VERSION}p1 -PKGNAME-battstat= gnome-applets2-battstat-${VERSION}p1 +PKGNAME-battstat= gnome-applets2-battstat-${VERSION}p2 SHARED_LIBS += gweather 0.0 # .0.0 CATEGORIES= x11 @@ -49,8 +49,10 @@ LIB_DEPENDS-main= ${LIB_DEPENDS} \ PSEUDO_FLAVORS= no_battstat FLAVOR?= -# Only i386 and macppc have the headers for the battstat applet -.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "powerpc" +# We use "macppc" and not "powerpc" on purpose here ; i.e. apm(4) needed +.if ${MACHINE_ARCH} != "amd64" || ${MACHINE_ARCH} != "arm" \ + || ${MACHINE_ARCH} != "i386" || ${MACHINE_ARCH} != "macppc" \ + || ${MACHINE_ARCH} != "sparc" FLAVOR+= no_battstat .endif