From b4a0ad227e436e9164cdb909a1b4cadc3357a740 Mon Sep 17 00:00:00 2001 From: jperkin Date: Mon, 9 Dec 2019 16:52:51 +0000 Subject: [PATCH] salt-docs: Skip legitimate hardcoded paths. --- sysutils/salt-docs/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysutils/salt-docs/Makefile b/sysutils/salt-docs/Makefile index 84b6fa193c62..fbe5bd78e686 100644 --- a/sysutils/salt-docs/Makefile +++ b/sysutils/salt-docs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2019/11/13 14:47:59 adam Exp $ +# $NetBSD: Makefile,v 1.25 2019/12/09 16:52:51 jperkin Exp $ DISTNAME= salt-2019.2.2 PKGNAME= ${DISTNAME:S/-/-docs-/} @@ -27,6 +27,10 @@ INSTALLATION_DIRS= ${HTMLDIR} PYTHON_VERSIONS_ACCEPTED= 27 +# Contains hardcoded paths that may refer to paths used during the build, for +# example /opt/tools on SmartOS. +CHECK_WRKREF_SKIP+= */*.html */*.txt + do-install: cd ${WRKSRC}/doc/_build/html && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/${HTMLDIR} cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}