diff options
author | schwarz <schwarz@pkgsrc.org> | 2006-10-01 08:52:01 +0000 |
---|---|---|
committer | schwarz <schwarz@pkgsrc.org> | 2006-10-01 08:52:01 +0000 |
commit | cf7e3d9d465baf7203b162806ee90a08d86a011c (patch) | |
tree | 862958e1f532fd117d7e3e3a2444e787f2c94cd1 /textproc/libxml2 | |
parent | dc3f7e0ba33cedefbeac7f7bf44af259eae3acdf (diff) | |
download | pkgsrc-cf7e3d9d465baf7203b162806ee90a08d86a011c.tar.gz |
added support for IRIX 5
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 11 | ||||
-rw-r--r-- | textproc/libxml2/buildlink3.mk | 7 |
2 files changed, 16 insertions, 2 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" diff --git a/textproc/libxml2/buildlink3.mk b/textproc/libxml2/buildlink3.mk index 95d18d7c11d..79e5171f629 100644 --- a/textproc/libxml2/buildlink3.mk +++ b/textproc/libxml2/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2006/10/01 08:53:05 schwarz Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBXML2_BUILDLINK3_MK:= ${LIBXML2_BUILDLINK3_MK}+ @@ -19,6 +19,11 @@ BUILDLINK_PKGSRCDIR.libxml2?= ../../textproc/libxml2 BUILDLINK_FILES.libxml2+= bin/xml2-config .endif # LIBXML2_BUILDLINK3_MK +.include "../../mk/bsd.prefs.mk" +.if !empty(LOWER_OPSYS:Mirix5*) +# for glob +. include "../../pkgtools/libnbcompat/buildlink3.mk" +.endif .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |