diff options
author | tron <tron> | 2000-11-25 08:38:03 +0000 |
---|---|---|
committer | tron <tron> | 2000-11-25 08:38:03 +0000 |
commit | cf4f5d79b3f004149c02cc1f7526e5af282a53b1 (patch) | |
tree | 7a5838610ff02fe78e81ff6b6992d903cd631cfa /graphics | |
parent | a6e382a6d0497e4b80636c7ae46a1c2d378d0583 (diff) | |
download | pkgsrc-cf4f5d79b3f004149c02cc1f7526e5af282a53b1.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')
-rw-r--r-- | graphics/xpm/Makefile | 10 |
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" |