From 414a22a386ad91d02c6eecf5d728cfaa551afe96 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sat, 15 Oct 2022 15:13:08 +0200 Subject: [PATCH] Ports/dosfstools: Create symlinks automatically instead of manually Replace the manual creation of symlinks with the `--enable-compat-symlinks` configure option, which automatically creates the symlinks that we want and more. --- Ports/dosfstools/package.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Ports/dosfstools/package.sh b/Ports/dosfstools/package.sh index d5508adfd86..f2e5cecc57a 100755 --- a/Ports/dosfstools/package.sh +++ b/Ports/dosfstools/package.sh @@ -6,8 +6,6 @@ use_fresh_config_sub='true' config_sub_paths=('config.sub') files="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" auth_type='sha256' - -post_install() { - ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.vfat" - ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.msdos" -} +configopts=( + "--enable-compat-symlinks" +)