1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix at cross-device build (use "ln -sf" rather "ln -f"):

-----
ln: /usr/ports/russian/d1489/work/stage/usr/local/bin/fromdos: Cross-device link
-----

Pointed out by:	marino (via e-mail)
This commit is contained in:
Boris Samorodov 2013-10-16 10:58:13 +00:00
parent c7161a51f9
commit cb96876f30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330497

View File

@ -20,9 +20,9 @@
- cp a2kfcnv ${PREFIX}/bin
+ cp todos ${DISTDIR}/bin
+ -rm -f ${DISTDIR}/bin/fromdos ${DISTDIR}/bin/fromwin ${DISTDIR}/bin/towin
+ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/fromdos
+ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/fromwin
+ ln -f ${PREFIX}/bin/todos ${DISTDIR}/bin/towin
+ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/fromdos
+ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/fromwin
+ ln -sf ${PREFIX}/bin/todos ${DISTDIR}/bin/towin
+ cp a2kfcnv ${DISTDIR}/bin
clean: