tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Broken .PLIST in cwrapers



Hello

I ran into a weird situation where basic packages like cwrapers or 
digest would fail, because work/.PLIST started by an error message
from the find command about nonesxitant directory.

The patch below worked it around. Should I commit it?

--- mk/check/check-files.mk     2 Oct 2017 14:14:04 -0000       1.36
+++ mk/check/check-files.mk     29 Jan 2020 02:00:08 -0000
@@ -188,8 +188,9 @@
        @${STEP_MSG} "Generating post-install file lists"
 
 ${_CHECK_FILES_PRE.prefix} ${_CHECK_FILES_POST.prefix}:
        ${RUN}                                  \
+       ${MKDIR} -p ${DESTDIR}${PREFIX}/. \
        ${FIND} ${DESTDIR}${PREFIX}/. \( -type f -o -type l \) -print 2>/dev/null \
                | ${SED} -e 's,/\./,/,'                                 \
                | ${_CHECK_FILES_SKIP_FILTER}                           \
                | ${SORT} > ${.TARGET}     
-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index