summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2000-11-24 23:28:30 +0000
committertron <tron>2000-11-24 23:28:30 +0000
commit06306876da681bc9c659a2f7ea1b574225e919f7 (patch)
tree1a407c98161258e1efc1329abbccde7d3f259210 /mk
parent8b04ae99aaa72bb233cf95e6ef785c8cc68dec57 (diff)
downloadpkgsrc-06306876da681bc9c659a2f7ea1b574225e919f7.tar.gz
Partially back out revision 1.612 because it causes endless loops in
dependency checks if the "xpm" package is not installed.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a5fc51ff1ce..627a4579f85 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.615 2000/11/22 10:40:21 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.616 2000/11/24 23:28:30 tron Exp $
#
# This file is in the public domain.
#
@@ -776,22 +776,18 @@ DEPENDS+= ${LESSTIF_DEPENDS}
# Check if we got Xpm distributed with XFree86 4.0 or newer or if we
# need to use the package.
-.if defined(USE_XPM) || (${DISTNAME:Mxpm-*} != "")
+.if defined(USE_XPM)
.if exists(${X11BASE}/include/X11/xpm.h)
.if !defined(IS_BUILTIN_XPM)
IS_BUILTIN_XPM!= ${EGREP} -c NormalLibXpm ${X11BASE}/lib/X11/config/X11.tmpl || ${TRUE}
MAKEFLAGS+= IS_BUILTIN_XPM=${IS_BUILTIN_XPM}
.endif
-.if defined(USE_XPM)
.if (${IS_BUILTIN_XPM} == "0")
DEPENDS+= xpm-3.4k:../../graphics/xpm
XPMDIR_DEFAULT= ${X11PREFIX}
.else
XPMDIR_DEFAULT= ${X11BASE}
.endif
-.elif (${IS_BUILTIN_XPM} != "0")
-IGNORE= "The Xpm library is included in your X11 distribution."
-.endif
.else
DEPENDS+= xpm-3.4k:../../graphics/xpm
XPMDIR_DEFAULT= ${X11PREFIX}