diff options
Diffstat (limited to 'textproc/libxslt/xsltproc-nonet.mk')
-rw-r--r-- | textproc/libxslt/xsltproc-nonet.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/libxslt/xsltproc-nonet.mk b/textproc/libxslt/xsltproc-nonet.mk index 1fa6f31a1be..1722fb1de74 100644 --- a/textproc/libxslt/xsltproc-nonet.mk +++ b/textproc/libxslt/xsltproc-nonet.mk @@ -1,4 +1,4 @@ -# $NetBSD: xsltproc-nonet.mk,v 1.3 2015/07/09 01:56:44 richard Exp $ +# $NetBSD: xsltproc-nonet.mk,v 1.4 2019/11/06 13:23:45 wiz Exp $ BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt @@ -7,9 +7,10 @@ pre-configure: create-xsltproc-wrapper # --nonet avoids network connections during builds # XLSTPROC_PATH allows any necessary files (e.g. dtds) to be found # locally in the paths provided with the default being '--path .' +.PHONY: create-xsltproc-wrapper create-xsltproc-wrapper: ${PRINTF} "#! ${SH}\\n\ - ${LOCALBASE}/bin/xsltproc --nonet \ + ${PREFIX}/bin/xsltproc --nonet \ --path ${XSLTPROC_PATH:U.:O:u:ts::Q} \$$*\\n\ " > ${BUILDLINK_DIR}/bin/xsltproc ${CHMOD} +x ${BUILDLINK_DIR}/bin/xsltproc |