summaryrefslogtreecommitdiff
path: root/bzip2
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-06-08 16:45:17 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-06-08 16:45:17 -0400
commite35536c7e947df1e2bae70ad746e31648e6d002b (patch)
tree5a3a0d92aa5378b90d228f08f363f880c3425d36 /bzip2
parent3b30be51008b8259db9b826b10096fb35d324a2e (diff)
downloadspm_packages-e35536c7e947df1e2bae70ad746e31648e6d002b.tar.gz
Fix bugs
Diffstat (limited to 'bzip2')
-rw-r--r--bzip2/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bzip2/build.sh b/bzip2/build.sh
index 7428421..0c43630 100644
--- a/bzip2/build.sh
+++ b/bzip2/build.sh
@@ -48,8 +48,8 @@ function package() {
rm -f libbz2.${lib_type}*
# Reconstruct symlinks
- ln -s libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short}
- ln -s libbz2.${lib_format_darwin} libbz2.${lib_type}
+ ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_format_darwin_short}
+ ln -s -f libbz2.${lib_format_darwin} libbz2.${lib_type}
# Reset LC_ID_DYLIB to use expected naming conventions
install_name_tool -id libbz2.${lib_format_darwin_short} \
@@ -68,7 +68,7 @@ function package() {
# Install binaries
cp -a bzip2-shared "${_pkgdir}${_prefix}"/bin/bzip2
- ln -s libbz2.${lib_format} libbz2.${lib_type}
+ ln -s -f libbz2.${lib_format} libbz2.${lib_type}
cp -a libbz2.${lib_format} "${_pkgdir}${_prefix}"/lib
cp -a libbz2.${lib_format_short} "${_pkgdir}${_prefix}"/lib
cp -a libbz2.${lib_type} "${_pkgdir}${_prefix}"/lib