summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-02 08:02:33 +0000
committerjlam <jlam@pkgsrc.org>2001-07-02 08:02:33 +0000
commit8d8c3630b3328e42368bc308d7442aedae942c76 (patch)
treeeebe7253c1ff451f8d52cacd70bf787c01c9b8e9 /graphics/xpm
parent06a4225afc13172d6c58e26741dd6e90a1d79f11 (diff)
downloadpkgsrc-8d8c3630b3328e42368bc308d7442aedae942c76.tar.gz
Make check for Xpm in XFree86 look like the checks for Mesa and freetype2.
Diffstat (limited to 'graphics/xpm')
-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: