summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xvattr/Makefile7
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"