mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Mk/Uses: make a copy of package.xml
When installing pear ports with php80-pear-1.10.12, I noticed a failure: the file package.xml disappeared from $WRKSRC and the symlink became invalid. PR: 263942
This commit is contained in:
parent
82bb72e9b8
commit
617e098201
@ -114,6 +114,10 @@ pear-pre-install:
|
||||
@${ECHO_MSG} ""
|
||||
@${FALSE}
|
||||
. endif
|
||||
(if [ -f ${WRKSRC}/package.xml ] \
|
||||
&& [ ! -f ${WRKDIR}/package.xml ] ; then \
|
||||
${CP} -p ${WRKSRC}/package.xml ${WRKDIR} ; \
|
||||
fi)
|
||||
|
||||
DIRFILTER= ${SED} -En '\:^.*/[^/]*$$:s:^(.+)/[^/]*$$:\1:p' \
|
||||
| ( while read r; do \
|
||||
|
Loading…
Reference in New Issue
Block a user