From e5c7053684da7d2e4058c6fb22d1b56f8cb5e266 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 6 Feb 2021 22:55:10 +0100 Subject: [PATCH] rhash: change build_style to configure The configure script is just a random shell script --- srcpkgs/rhash/patches/configure.patch | 17 ----------------- srcpkgs/rhash/template | 5 +++-- 2 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 srcpkgs/rhash/patches/configure.patch diff --git a/srcpkgs/rhash/patches/configure.patch b/srcpkgs/rhash/patches/configure.patch deleted file mode 100644 index afd1aebd6fa970..00000000000000 --- a/srcpkgs/rhash/patches/configure.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.orig -+++ configure -@@ -194,7 +194,6 @@ - ;; - *) - echo "unknown option $OPT" -- exit 1 - ;; - esac - shift -@@ -897,4 +896,4 @@ - Libs.private: ${OPENSSL_LDFLAGS} - - EOF --fi -\ No newline at end of file -+fi diff --git a/srcpkgs/rhash/template b/srcpkgs/rhash/template index 820963e9edef01..749f975510698b 100644 --- a/srcpkgs/rhash/template +++ b/srcpkgs/rhash/template @@ -3,8 +3,9 @@ pkgname=rhash version=1.4.1 revision=1 wrksrc="RHash-${version}" -build_style=gnu-configure -configure_args="--enable-openssl --disable-openssl-runtime" +build_style=configure +configure_args="--enable-openssl --disable-openssl-runtime + --prefix=/usr --sysconfdir=/etc" conf_files="/etc/rhashrc" makedepends="libressl-devel" short_desc="Utility for computing hash sums and creating magnet links"