mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Get the PLIST generation out of do-install and into pre-instal.
Reported by: sf
This commit is contained in:
parent
500e4184ff
commit
c0ec0fbec9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126663
1 changed files with 3 additions and 4 deletions
|
@ -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 \{\} \;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue