perl: Replace symlinks with hardlinks
This commit is contained in:
parent
426d37e39f
commit
9a9aaa90df
@ -45,3 +45,12 @@ termux_step_configure () {
|
|||||||
-A ccflags="-specs=$TERMUX_SCRIPTDIR/termux.spec" \
|
-A ccflags="-specs=$TERMUX_SCRIPTDIR/termux.spec" \
|
||||||
-A ldflags="-specs=$TERMUX_SCRIPTDIR/termux.spec"
|
-A ldflags="-specs=$TERMUX_SCRIPTDIR/termux.spec"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
termux_step_post_make_install () {
|
||||||
|
# Replace hardlinks with symlinks:
|
||||||
|
cd $TERMUX_PREFIX/share/man/man1
|
||||||
|
rm {perlbug.1,s2p.1,c2ph.1}
|
||||||
|
ln -s perlthanks.1 perlbug.1
|
||||||
|
ln -s psed.1 s2p.1
|
||||||
|
ln -s pstruct.1 c2ph.1
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user