pkgsrc/textproc/libxslt/xsltproc-nonet.mk
drochner 00a10dacfa 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)
2009-10-27 14:37:13 +00:00

9 lines
285 B
Makefile

# $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