diff options
author | dmcmahill <dmcmahill> | 2002-08-14 02:14:16 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-08-14 02:14:16 +0000 |
commit | 11a25911ae5946466536fe37ba88a8970f446e7f (patch) | |
tree | d8977019964d9e7dcf73341b87927ad458cfac1d /x11 | |
parent | 116ad451dc6836fce69f2c6f28e7e34cbd44a049 (diff) | |
download | pkgsrc-11a25911ae5946466536fe37ba88a8970f446e7f.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')
-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" |