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)
This commit is contained in:
drochner 2009-10-27 14:37:13 +00:00
parent bf6ef4d3bb
commit 00a10dacfa

View file

@ -0,0 +1,9 @@
# $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