Tue Oct 27 14:37:13 2009 UTC ()
add a makefile snippet to build a wrapper for "xsltproc" which
makes sure the tool is called with the "--nonet" option, keeping
it from using http or ftp to resolve references in xml files
(unfortunately it doesn't work as intended yet)


(drochner)
diff -r0 -r1.1 pkgsrc/textproc/libxslt/xsltproc-nonet.mk

File Added: pkgsrc/textproc/libxslt/xsltproc-nonet.mk
# $NetBSD: xsltproc-nonet.mk,v 1.1 2009/10/27 14:37:13 drochner Exp $

pre-configure: create-xsltproc-wrapper

create-xsltproc-wrapper:
	${PRINTF} "#! ${SH}\\n\
	  ${LOCALBASE}/bin/xsltproc --nonet \$$*\\n\
	" > ${BUILDLINK_DIR}/bin/xsltproc
	${CHMOD} +x ${BUILDLINK_DIR}/bin/xsltproc