mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Fix build on FreeBSD<11
In spite of the 'g', the pattern is only substituted once on FreeBSD 9.x and 10.x, leading to wrong filenames for extracted files, and staging failure. Repeat the pattern enough times so that all '\\' or replaced with '/'. Reported by: pkg-fallout
This commit is contained in:
parent
eeb39316e3
commit
1b28e11749
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424052
@ -37,7 +37,12 @@ do-extract:
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${NETPORTABLEDIR}
|
||||
# XXX: tar(1)'s 'g' flag is broken on FreeBSD<11.
|
||||
# Repeat the pattern as a workaround.
|
||||
tar -xC ${STAGEDIR}${PREFIX}/${NETPORTABLEDIR} -f ${WRKDIR}/PortableReferenceAssemblies.zip \
|
||||
-s'|\\|/|g' \
|
||||
-s'|\\|/|g' \
|
||||
-s'|\\|/|g' \
|
||||
-s'|\\|/|g'
|
||||
tar -xC ${STAGEDIR}${PREFIX}/${NETPORTABLEDIR} -f ${DISTDIR}/referenceassemblies-pcl_2014.04.14.orig.tar.bz2 \
|
||||
-s'|${PRADIR}||g' \
|
||||
|
Loading…
Reference in New Issue
Block a user