diff options
author | tv <tv> | 2006-03-06 19:21:34 +0000 |
---|---|---|
committer | tv <tv> | 2006-03-06 19:21:34 +0000 |
commit | 53436a70ff0ccf5747a823d7fe8b6f82c291ac58 (patch) | |
tree | 877b2184bdb40cad9a5f4731404a219f95f7885c /textproc | |
parent | 53409876e1bbe495d92e9988bb5d1f3633780261 (diff) | |
download | pkgsrc-53436a70ff0ccf5747a823d7fe8b6f82c291ac58.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 |