summaryrefslogtreecommitdiff
path: root/x11/xproto
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-15 20:43:00 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-15 20:43:00 +0000
commit28041ee761f3f8ada13799f4e132b0d0e448f60d (patch)
treeb5d464e045b1dec7ab4ea029da792f7c85cf797b /x11/xproto
parentfa022216dcc30d105a30e345177ddc45b4777d4b (diff)
downloadpkgsrc-28041ee761f3f8ada13799f4e132b0d0e448f60d.tar.gz
Don't assume that we have a builtin version of the X11 proto packages,
if LOCALBASE and X11BASE are identical.
Diffstat (limited to 'x11/xproto')
-rw-r--r--x11/xproto/builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xproto/builtin.mk b/x11/xproto/builtin.mk
index 280cba2845a..1aa057b7ce9 100644
--- a/x11/xproto/builtin.mk
+++ b/x11/xproto/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.1 2006/04/19 12:19:47 reed Exp $
+# $NetBSD: builtin.mk,v 1.2 2006/12/15 20:43:01 joerg Exp $
BUILTIN_PKG:= xproto
@@ -11,7 +11,7 @@ BUILTIN_FIND_FILES.H_XFUNCPROTO= ${X11BASE}/include/X11/Xfuncproto.h
### Determine if there is a built-in implementation of the package and
### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
###
-.if !defined(IS_BUILTIN.xproto)
+.if !defined(IS_BUILTIN.xproto) || ${X11BASE} == ${LOCALBASE}
IS_BUILTIN.xproto= no
. if empty(H_XFUNCPROTO:M__nonexistent__)
IS_BUILTIN.xproto= yes