summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-11-25 08:38:03 +0000
committertron <tron@pkgsrc.org>2000-11-25 08:38:03 +0000
commite105ef1c1f97f723ef08d039e4d7d418f067aefb (patch)
tree7a5838610ff02fe78e81ff6b6992d903cd631cfa /graphics/xpm
parent14d02f5ea71d1e3db9a618b2cbadf9e53f83067f (diff)
downloadpkgsrc-e105ef1c1f97f723ef08d039e4d7d418f067aefb.tar.gz
Don't build the "xpm" package on systems with XFree86 4.0 or newer
installed because it includes the "Xpm" library.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index af3882c105f..4ce55237dec 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 1999/02/20 22:48:32 hubertf Exp $
+# $NetBSD: Makefile,v 1.14 2000/11/25 08:38:03 tron Exp $
#
DISTNAME= xpm-3.4k
@@ -10,4 +10,12 @@ HOMEPAGE= http://www.inria.fr/koala/lehors/xpm.html
USE_IMAKE= yes
+.if !defined(CHECK_XPM)
+IS_BUILTIN_XPM!= ${MAKE} CHECK_XPM=YES USE_XPM=YES VARNAME=IS_BUILTIN_XPM show-var
+.endif
+
+.if !defined(CHECK_XPM) && (${IS_BUILTIN_XPM} != "0")
+IGNORE= "The Xpm library is included in your X11 distribution."
+.endif
+
.include "../../mk/bsd.pkg.mk"