diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2021-04-13 12:54:28 +0200 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2021-04-14 17:41:07 +0200 |
commit | c4ee3f24d28ff92011fe4654776440b1d93bd1ad (patch) | |
tree | b58236e526698422c92d5b3dc23bd9fddbde8d69 /Mk/bsd.port.mk | |
parent | Mk: Cleanup after moving apply-slist earlier. (diff) |
Mk: Don't generate an empty apply-slist target.
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index db32745e215c..e796e84ee605 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -4513,9 +4513,8 @@ pretty-print-run-depends-list: .endif _SUB_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} -.if !target(apply-slist) +.if !target(apply-slist) && defined(SUB_FILES) apply-slist: -.if defined(SUB_FILES) .for file in ${SUB_FILES} .if !exists(${FILESDIR}/${file}.in) @${ECHO_MSG} "** Missing ${FILESDIR}/${file}.in for ${PKGNAME}."; exit 1 @@ -4529,7 +4528,6 @@ ${i:S/-//:tu}= ${WRKDIR}/${SUB_FILES:M${i}*} .endif .endfor .endif -.endif # Generate packing list. Also tests to make sure all required package # files exist. |