From c0ec0fbec9b4cbb9563c49ff19eb7302c18a195d Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 17 Jan 2005 19:37:47 +0000 Subject: [PATCH] Get the PLIST generation out of do-install and into pre-instal. Reported by: sf --- emulators/linux_base-8/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile index b7205815b727..9929f41b49b7 100644 --- a/emulators/linux_base-8/Makefile +++ b/emulators/linux_base-8/Makefile @@ -99,7 +99,7 @@ FALLBACK_ELF_MIB= kern.fallback_elf_brand LINUX_ELF= 3 PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB} -do-install: +pre-install: # # Handle the loading of the linux loadable kernel module if required. @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL @@ -150,9 +150,8 @@ do-install: cd ${WRKSRC} && ${FIND} -s . -type f -o -type l | \ ${CUT} -c3-999 >> ${PLIST} \ && ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST} -# -# The real do-install: -# + +do-install: cd ${WRKSRC} && ${FIND} * | ${CPIO} -dmp ${PREFIX} ${FIND} ${PREFIX} -type d -exec ${CHMOD} 755 \{\} \;