summaryrefslogtreecommitdiff
path: root/textproc/libxml2/Makefile
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-01 08:52:01 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-01 08:52:01 +0000
commitcf7e3d9d465baf7203b162806ee90a08d86a011c (patch)
tree862958e1f532fd117d7e3e3a2444e787f2c94cd1 /textproc/libxml2/Makefile
parentdc3f7e0ba33cedefbeac7f7bf44af259eae3acdf (diff)
downloadpkgsrc-cf7e3d9d465baf7203b162806ee90a08d86a011c.tar.gz
added support for IRIX 5
Diffstat (limited to 'textproc/libxml2/Makefile')
-rw-r--r--textproc/libxml2/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index ba66b03e665..03a377ba78e 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2006/06/09 21:16:38 drochner Exp $
+# $NetBSD: Makefile,v 1.81 2006/10/01 08:53:05 schwarz Exp $
DISTNAME= libxml2-2.6.26
CATEGORIES= textproc
@@ -40,6 +40,15 @@ SUBST_FILES.cat= catalog.c xmlcatalog.c
SUBST_SED.cat= -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g"
SUBST_SED.cat+= -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g"
+.include "../../mk/bsd.prefs.mk"
+.if !empty(LOWER_OPSYS:Mirix5*)
+# needs glob.h
+. include "../../pkgtools/libnbcompat/buildlink3.mk"
+SUBST_CLASSES+= glob_h
+SUBST_STAGE.glob_h= post-patch
+SUBST_FILES.glob_h= runtest.c
+SUBST_SED.glob_h= -e "s,<glob\.h>,<nbcompat/glob.h>,"
+.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"