diff options
author | hira <hira@pkgsrc.org> | 2007-12-30 09:37:23 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2007-12-30 09:37:23 +0000 |
commit | 6245f5c041ab9987a114f7b5675fba49e2845276 (patch) | |
tree | ecf204ae113672273087d8bfba941893c2db9aed /sysutils | |
parent | c2975b78690ddc627d8ae2613093f35439467a0e (diff) | |
download | pkgsrc-6245f5c041ab9987a114f7b5675fba49e2845276.tar.gz |
On NetBSD, this cannot be built without APM.
Set PKG_FAIL_REASON if APM is not available.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xfce4-battery-plugin/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/xfce4-battery-plugin/Makefile b/sysutils/xfce4-battery-plugin/Makefile index 3905adc20b9..27ee1274665 100644 --- a/sysutils/xfce4-battery-plugin/Makefile +++ b/sysutils/xfce4-battery-plugin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/05/04 10:13:12 hira Exp $ +# $NetBSD: Makefile,v 1.4 2007/12/30 09:37:23 hira Exp $ .include "../../meta-pkgs/xfce4/Makefile.common" @@ -10,6 +10,10 @@ CATEGORIES= sysutils MASTER_SITES= http://goodies.xfce.org/releases/xfce4-battery-plugin/ COMMENT= Xfce battey monitor plugin +.if ${OPSYS} == "NetBSD" && !exists(/usr/include/machine/apmvar.h) +PKG_FAIL_REASON+= "APM is not available on ${MACHINE_PLATFORM}." +.endif + USE_TOOLS+= perl:run .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |