Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/sysutils/xfce4-battery-plugin/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/sysutils/xfce4-battery-plugin/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- pkgsrc/sysutils/xfce4-battery-plugin/Makefile 2007/05/04 10:13:12 1.3 +++ pkgsrc/sysutils/xfce4-battery-plugin/Makefile 2007/12/30 09:37:23 1.4 @@ -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"