summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-05 11:53:39 +0000
committerjlam <jlam>2004-01-05 11:53:39 +0000
commite86d0cbb86bed9e4dd63183f3ee07422a7cf0288 (patch)
tree44885fd46499bfa7742a2d7cb64609307f287d1e /graphics/xpm
parent0eca5e840ad0de089687579397a187cd3e78eacc (diff)
downloadpkgsrc-e86d0cbb86bed9e4dd63183f3ee07422a7cf0288.tar.gz
bl3ify
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index 367868606b3..43aaa906d3b 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2003/08/11 13:28:08 seb Exp $
+# $NetBSD: Makefile,v 1.31 2004/01/05 11:53:39 jlam Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 1
@@ -10,28 +10,15 @@ MAINTAINER= mycroft@NetBSD.org
HOMEPAGE= http://www.inria.fr/koala/lehors/xpm.html
COMMENT= The X Pixmap library
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
USE_IMAKE= # defined
-.include "../../mk/bsd.prefs.mk"
-
-# Check if we got Xpm distributed with XFree86 4.x or Solaris 9.
-.if ${OPSYS} != "SunOS"
-. if exists(${X11BASE}/include/X11/xpm.h) && \
- exists(${X11BASE}/lib/X11/config/X11.tmpl)
-_IS_BUILTIN_XPM!= ${EGREP} -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
-. if ${OPSYS} == "IRIX"
-_IS_BUILTIN_XPM= 1
-. endif
-. else
-_IS_BUILTIN_XPM= 0
-. endif
-.else
-_IS_BUILTIN_XPM!= (/usr/sbin/pkgchk -l SUNWxwinc | ${EGREP} -c xpm.h) || ${TRUE}
-.endif
+BUILDLINK_CHECK_BUILTIN.xpm= YES
+
+.include "buildlink3.mk"
-.if ${_IS_BUILTIN_XPM} != "0"
-PKG_SKIP_REASON= "${PKGNAME} is part of your X11 distribution"
+.if ${BUILDLINK_IS_BUILTIN.xpm} == "YES"
+#PKG_SKIP_REASON= "${PKGNAME} is part of your X11 distribution"
.endif
.if (${OPSYS} == SunOS)