summaryrefslogtreecommitdiff
path: root/alpine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'alpine/PKGBUILD')
-rw-r--r--alpine/PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/alpine/PKGBUILD b/alpine/PKGBUILD
index 41344a76..071ebcbd 100644
--- a/alpine/PKGBUILD
+++ b/alpine/PKGBUILD
@@ -23,6 +23,13 @@ options=("!makeflags")
source=("alpine::git://repo.or.cz/alpine.git#commit=${_commit}")
sha512sums=('SKIP')
+prepare() {
+ sed -i '
+ /^\s*ERR_free_strings();\s*$/d
+ /^\s*EVP_cleanup();\s*$/d
+ ' "${srcdir}/${pkgname}/pith/smime.c"
+}
+
pkgver() {
cd "${srcdir}/${pkgname}"
_rev=$(
@@ -57,7 +64,7 @@ build() {
cd "${srcdir}/${pkgname}"
# Configure Alpine
- LIBS+=" -lcrypto" ./configure --prefix=/usr \
+ ./configure --prefix=/usr \
--without-passfile --without-tcl --disable-shared \
--with-system-pinerc=/etc/${pkgname}.d/pine.conf \
--with-system-fixed-pinerc=/etc/${pkgname}.d/pine.conf.fixed