diff options
author | tv <tv@pkgsrc.org> | 2006-03-06 19:21:34 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-03-06 19:21:34 +0000 |
commit | ef627bc06f915b7f3a6b96e46a417b0eb4d28bfa (patch) | |
tree | 877b2184bdb40cad9a5f4731404a219f95f7885c /textproc | |
parent | 4f7e03cb89ec7c407ae50a872be60b2b0cc0c8e5 (diff) | |
download | pkgsrc-ef627bc06f915b7f3a6b96e46a417b0eb4d28bfa.tar.gz |
If the builtin expat is in /usr, not X11BASE, don't depend on X11 build
infrastructure.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/expat/builtin.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/expat/builtin.mk b/textproc/expat/builtin.mk index b523b2bd4ad..1465e3aeb79 100644 --- a/textproc/expat/builtin.mk +++ b/textproc/expat/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.8 2006/03/03 17:47:58 tv Exp $ +# $NetBSD: builtin.mk,v 1.9 2006/03/06 19:21:34 tv Exp $ BUILTIN_PKG:= expat @@ -81,9 +81,13 @@ BUILDLINK_DEPENDS.expat+= expat>=1.95.4 . endif . if !empty(USE_BUILTIN.expat:M[yY][eE][sS]) +. if !empty(H_EXPAT:M${X11BASE}/) BUILDLINK_PREFIX.expat= ${X11BASE} -. include "../../mk/x11.buildlink3.mk" -. include "../../mk/x11.builtin.mk" +. include "../../mk/x11.buildlink3.mk" +. include "../../mk/x11.builtin.mk" +. else +BUILDLINK_PREFIX.expat= /usr +. endif . endif .endif # CHECK_BUILTIN.expat |