summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authortron <tron>2000-11-25 08:38:03 +0000
committertron <tron>2000-11-25 08:38:03 +0000
commit186fc8fc0974d463399a0cabdd8d85d155334636 (patch)
tree7a5838610ff02fe78e81ff6b6992d903cd631cfa /graphics/xpm
parent63d681024db063eef1acc2953aadcdd40718901a (diff)
downloadpkgsrc-186fc8fc0974d463399a0cabdd8d85d155334636.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"