Subject: print-PLIST can't pick up files installed by cp -p.
To: None <tech-pkg@NetBSD.org>
From: OBATA Akio <obache@NetBSD.org>
List: tech-pkg
Date: 03/05/2007 01:53:28
Hi,

Now, print-PLIST can't pick up some files, for example, installed by cp -p.

How about using find -cnewer instead of -newer?

Index: print-plist.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/plist/print-plist.mk,v
retrieving revision 1.12
diff -u -r1.12 print-plist.mk
--- print-plist.mk      2 Mar 2007 09:08:33 -0000       1.12
+++ print-plist.mk      4 Mar 2007 16:48:19 -0000
@@ -89,9 +89,9 @@
 # XXX should check $LOCALBASE and $X11BASE, and add @cwd statements

 _PRINT_PLIST_FILES_CMD=        \
-       ${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} \! -type d -print
+       ${FIND} ${DESTDIR}${PREFIX}/. -xdev -cnewer ${_COOKIE.extract} \! -type d -print
 _PRINT_PLIST_DIRS_CMD= \
-       ${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} -type d -print
+       ${FIND} ${DESTDIR}${PREFIX}/. -xdev -cnewer ${_COOKIE.extract} -type d -print

 .if !empty(LIBTOOLIZE_PLIST:M[yY][eE][sS])
 _PRINT_PLIST_LIBTOOLIZE_FILTER?=                                       \

--
"Of course I love NetBSD":-)
OBATA Akio / obache@NetBSD.org