summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorjlam <jlam>2001-07-02 08:02:33 +0000
committerjlam <jlam>2001-07-02 08:02:33 +0000
commit5abc4f4c43909e13d78590ab527d1dab02a8767c (patch)
treeeebe7253c1ff451f8d52cacd70bf787c01c9b8e9 /graphics
parenta0c259c383e0363a5b33b22d8d5f2b1a79fa3955 (diff)
downloadpkgsrc-5abc4f4c43909e13d78590ab527d1dab02a8767c.tar.gz
Make check for Xpm in XFree86 look like the checks for Mesa and freetype2.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpm/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index eea59b8aa61..50db8e8a0e4 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/06/08 21:30:35 tron Exp $
+# $NetBSD: Makefile,v 1.19 2001/07/02 08:02:34 jlam Exp $
DISTNAME= xpm-3.4k
CATEGORIES= graphics x11
@@ -8,16 +8,14 @@ MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://www.inria.fr/koala/lehors/xpm.html
COMMENT= The X Pixmap library
-USE_IMAKE= yes
+USE_IMAKE= # defined
+CHECK_XPM= # defined
-.if !defined(CHECK_XPM)
-IS_BUILTIN_XPM!= ${MAKE} CHECK_XPM=YES USE_XPM=YES VARNAME=IS_BUILTIN_XPM show-var
-.if (${IS_BUILTIN_XPM} != "0")
+.include "../../mk/bsd.prefs.mk"
+
+.if ${HAVE_BUILTIN_XPM} != "NO"
IGNORE= "The Xpm library is included in your X11 distribution."
.endif
-.endif
-
-.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == SunOS)
post-install: