summaryrefslogtreecommitdiff
path: root/textproc/expat
diff options
context:
space:
mode:
authorobache <obache>2010-07-04 16:34:46 +0000
committerobache <obache>2010-07-04 16:34:46 +0000
commit79d86ddb3fb6d93cc3e173e550f1f1ee03d1c6fb (patch)
tree31a4bbe1f3592417c3e4361cee9648f6f909496e /textproc/expat
parent151274b0da19d80c13a7e71b70f70727d5e40174 (diff)
downloadpkgsrc-79d86ddb3fb6d93cc3e173e550f1f1ee03d1c6fb.tar.gz
Support buitin expat for Haiku.
Diffstat (limited to 'textproc/expat')
-rw-r--r--textproc/expat/builtin.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/textproc/expat/builtin.mk b/textproc/expat/builtin.mk
index 358657e5620..d7fa665369b 100644
--- a/textproc/expat/builtin.mk
+++ b/textproc/expat/builtin.mk
@@ -1,9 +1,11 @@
-# $NetBSD: builtin.mk,v 1.14 2008/10/07 18:03:55 cube Exp $
+# $NetBSD: builtin.mk,v 1.15 2010/07/04 16:34:46 obache Exp $
BUILTIN_PKG:= expat
BUILTIN_FIND_FILES_VAR:= H_EXPAT
-BUILTIN_FIND_FILES.H_EXPAT= ${X11BASE}/include/expat.h /usr/include/expat.h
+BUILTIN_FIND_FILES.H_EXPAT= ${X11BASE}/include/expat.h \
+ /usr/include/expat.h \
+ /boot/common/include/expat.h
.include "../../mk/buildlink3/bsd.builtin.mk"
@@ -81,8 +83,10 @@ BUILDLINK_API_DEPENDS.expat+= expat>=1.95.4
. else
. if !empty(H_EXPAT:M${X11BASE}/*)
. include "../../mk/x11.builtin.mk"
-. else
+. elif !empty(H_EXPAT:M/usr/*)
BUILDLINK_PREFIX.expat= /usr
+. elif !empty(H_EXPAT:M/boot/common/*)
+BUILDLINK_PREFIX.expat= /boot/common
. endif
. endif