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:
parent
bf6ef4d3bb
commit
00a10dacfa
1 changed files with 9 additions and 0 deletions
9
textproc/libxslt/xsltproc-nonet.mk
Normal file
9
textproc/libxslt/xsltproc-nonet.mk
Normal 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
|
Loading…
Reference in a new issue