From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 20 06:30:48 2003 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A2A37B401 for ; Fri, 20 Jun 2003 06:30:48 -0700 (PDT) Received: from freebsd.org.ru (freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F50343F85 for ; Fri, 20 Jun 2003 06:30:47 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 430C6376; Fri, 20 Jun 2003 17:30:45 +0400 (MSD) Date: Fri, 20 Jun 2003 17:30:45 +0400 From: "Sergey A. Osokin" To: Sergei Kolobov Message-ID: <20030620133044.GX86248@freebsd.org.ru> References: <200306201300.h5KD0Z4G033020@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306201300.h5KD0Z4G033020@freefall.freebsd.org> User-Agent: Mutt/1.5.4i cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/53173: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 13:30:48 -0000 On Fri, Jun 20, 2003 at 06:00:35AM -0700, Sergei Kolobov wrote: > The following reply was made to PR ports/53173; it has been noted by GNATS. > > From: Sergei Kolobov > To: FreeBSD-gnats-submit@FreeBSD.org, > "Sergey A. Osokin" > Cc: > Subject: Re: ports/53173: [NEW PORT] textproc/xmlto: Front-end to an XSL toolchain > Date: Fri, 20 Jun 2003 16:56:08 +0400 > > The patch below fixes (finally) xmlto port: > - avoid fetching DocBook XSL stylesheets via HTTP by redirecting to the > installed docbook-xsl port; add dependency > > --- Makefile.orig Tue Jun 17 12:50:46 2003 > +++ Makefile Fri Jun 20 16:49:55 2003 > @@ -19,7 +19,8 @@ > BUILD_DEPENDS= ${BASH_CMD}:${PORTSDIR}/shells/bash2 \ > ${GETOPT_CMD}:${PORTSDIR}/misc/getopt \ > xmllint:${PORTSDIR}/textproc/libxml2 \ > - xsltproc:${PORTSDIR}/textproc/libxslt > + xsltproc:${PORTSDIR}/textproc/libxslt \ > + ${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl > RUN_DEPENDS= ${BUILD_DEPENDS} > > .if defined(WITH_PASSIVETEX) || exists(${PASSIVETEX}) > @@ -39,12 +40,16 @@ > GETOPT_CMD= ${LOCALBASE}/bin/getopt > PASSIVETEX= ${LOCALBASE}/share/texmf/tex/passivetex > > +XSL_URL= http://docbook.sourceforge.net/release/xsl/current > +XSL_DIR= ${LOCALBASE}/share/xsl/docbook > + > MAN1= xmlif.1 xmlto.1 > DOCS= AUTHORS NEWS > > do-patch: > - ${REINPLACE_CMD} -e 's,/bin/bash,${BASH_CMD},' -e '/--nonet/d' \ > - ${WRKSRC}/xmlto.in > + ${REINPLACE_CMD} -e 's,/bin/bash,${BASH_CMD},' ${WRKSRC}/xmlto.in > + ${REINPLACE_CMD} -e 's,${XSL_URL},${XSL_DIR},' \ > + ${WRKSRC}/format/docbook/* > .if !defined(WITH_PASSIVETEX) > ${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in > .endif ===> Building for xmlto-0.0.14 make all-am source='xmlif/xmlif.c' object='xmlif/xmlif.o' libtool=no depfile='xmlif/.deps/xmlif.Po' tmpdepfile='xmlif/.deps/xmlif.TPo' depmode=gcc /bin/sh ./depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c cc -O -pipe -o xmlif/xmlif xmlif/xmlif.o for xml in xmlif.xml xmlto.xml; do FORMAT_DIR=./format XSL_DIR=./xsl bash ./xmlto man -o man/man1 ./doc/$xml ; done file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found CATALOG "dtd/catalog" ^ Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/home/ports/src/xmlto/work/xmlto-0.0.14/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> ^ Writing xmlif.1 for refentry(xmlif) file:///usr/local/share/xml/catalog:1: error: Start tag expected, '<' not found CATALOG "dtd/catalog" ^ Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/home/ports/src/xmlto/work/xmlto-0.0.14/./doc/xmlto.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> ^ Writing xmlto.1 for refentry It looks like still drink some water from oasis... Isn't it ? -- Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \