diff options
author | dmcmahill <dmcmahill> | 2002-08-14 02:14:16 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-08-14 02:14:16 +0000 |
commit | 1920ab96b7f983508a61bedea944cbd598f6673d (patch) | |
tree | d8977019964d9e7dcf73341b87927ad458cfac1d /x11/xvattr | |
parent | a68f045905e353897946a8446722cc75a39cf3dd (diff) | |
download | pkgsrc-1920ab96b7f983508a61bedea944cbd598f6673d.tar.gz |
make sure that ${X11BASE}/include/X11/extensions/Xvlib.h before trying
to build this. If not, bail out with a NOT_FOR_PLATFORM since Xv didn't
appear until XF4.
Diffstat (limited to 'x11/xvattr')
-rw-r--r-- | x11/xvattr/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile index ec35d96e268..3b189ae568b 100644 --- a/x11/xvattr/Makefile +++ b/x11/xvattr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/08/05 08:51:40 veego Exp $ +# $NetBSD: Makefile,v 1.2 2002/08/14 02:14:16 dmcmahill Exp $ DISTNAME= xvattr-1.3 CATEGORIES= x11 @@ -11,6 +11,11 @@ COMMENT= Modify Xv attributes GNU_CONFIGURE= yes USE_BUILDLINK_ONLY= YES +.if !exists(${X11BASE}/include/X11/extensions/Xvlib.h) +# you need Xv which isn't there in older X installs +NOT_FOR_PLATFORM= *-*-* +.endif + .include "../../mk/x11.buildlink.mk" .include "../../x11/gtk/buildlink.mk" .include "../../mk/bsd.pkg.mk" |