aboutsummaryrefslogtreecommitdiff
path: root/emulators/i386-wine-devel/Makefile.i386
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-04-12 13:31:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-04-12 13:31:05 +0000
commitee01cb380208a7548173deb5b2d343fc86f683db (patch)
treec6271b92933176a47f69ffdb2d0741980851a403 /emulators/i386-wine-devel/Makefile.i386
parent05096f65be82bc872278ffcecbf430bd94beb539 (diff)
downloadports-ee01cb380208a7548173deb5b2d343fc86f683db.tar.gz
ports-ee01cb380208a7548173deb5b2d343fc86f683db.zip
Notes
Diffstat (limited to 'emulators/i386-wine-devel/Makefile.i386')
-rw-r--r--emulators/i386-wine-devel/Makefile.i3868
1 files changed, 4 insertions, 4 deletions
diff --git a/emulators/i386-wine-devel/Makefile.i386 b/emulators/i386-wine-devel/Makefile.i386
index f31d842eeb52..4288de503267 100644
--- a/emulators/i386-wine-devel/Makefile.i386
+++ b/emulators/i386-wine-devel/Makefile.i386
@@ -37,7 +37,7 @@ post-install-script:
${REINPLACE_CMD} -e 's!lib/!lib32/!g' ${TMPPLIST}
# Install bounce script to access the 32-bit executables
${INSTALL_SCRIPT} ${SLAVEDIR}/files/binbounce ${STAGEDIR}${PREFIX}/bin/wine
- for i in `grep ^bin ${TMPPLIST} | xargs -n1 basename` ; do \
+ for i in `grep ^bin ${TMPPLIST} | ${XARGS} -n1 basename` ; do \
[ "$${i}" = "wine" ] || ${LN} -f ${STAGEDIR}${PREFIX}/bin/wine ${STAGEDIR}${PREFIX}/bin/$${i} ; \
echo bin32/$${i} >> ${TMPPLIST} ; \
done
@@ -52,7 +52,7 @@ post-install-script:
done
# Find all soft dependencies (via strings(1))
grep -v '[@%]' ${TMPPLIST} | sed "s!^!${STAGEDIR}${PREFIX}/!g" | \
- xargs -n1 file -F' ' | grep ELF | cut -f1 -d' ' | xargs strings | \
+ ${XARGS} -n1 file -F' ' | grep ELF | cut -f1 -d' ' | ${XARGS} strings | \
grep '^lib.*\.so' | sort -u > ${WRKDIR}/winesoftlibs
for i in `cat ${WRKDIR}/winesoftlibs` ; do \
if [ -e ${LOCALBASE}/lib/$${i} ] && [ -z "`grep $${i} ${TMPPLIST}`" ]; then \
@@ -62,8 +62,8 @@ post-install-script:
done
# Find all libraries that are linked too (via ldd(1))
grep -v '[@%]' ${TMPPLIST} | sed "s!^!${STAGEDIR}${PREFIX}/!g" | \
- xargs -n1 file -F' ' | grep ELF | cut -f1 -d' ' | \
- env LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib32:${LD_LIBRARY_PATH} xargs ldd -f '%p\n' \
+ ${XARGS} -n1 file -F' ' | grep ELF | cut -f1 -d' ' | \
+ env LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib32:${LD_LIBRARY_PATH} ${XARGS} ldd -f '%p\n' \
| sort -u | grep -v '^\(/usr\)\?/lib' | grep -v "^${STAGEDIR}${PREFIX}/lib32/libwine.so" \
| grep -v "^${STAGEDIR}${PREFIX}/lib32/wine" > ${WRKDIR}/winelibs
for i in `cat ${WRKDIR}/winelibs` ; do \