aboutsummaryrefslogtreecommitdiffstats
path: root/main/libressl
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-05 02:33:00 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-05 02:34:04 +0100
commit72035bea03b580b197d6525aa734f782a9d2b5d4 (patch)
treeebd9369c67dbbde1ff131895baa0d41859151631 /main/libressl
parent46b1494bdc1debd2bcf90d0f45e6847b81cd5410 (diff)
downloadaports-72035bea03b580b197d6525aa734f782a9d2b5d4.tar.bz2
aports-72035bea03b580b197d6525aa734f782a9d2b5d4.tar.xz
main/libressl: fix wrong command order in build()
Fixes #8366 (https://bugs.alpinelinux.org/issues/8366)
Diffstat (limited to 'main/libressl')
-rw-r--r--main/libressl/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/main/libressl/APKBUILD b/main/libressl/APKBUILD
index f24efb5938..321edb0173 100644
--- a/main/libressl/APKBUILD
+++ b/main/libressl/APKBUILD
@@ -27,9 +27,16 @@ source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$pkgname-$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
-build() {
+prepare() {
+ default_prepare
+
+ cd "$builddir"
autoreconf -vif
+}
+
+build() {
cd "$builddir"
+
CFLAGS="-L$CBUILDROOT/usr/lib $CFLAGS" \
./configure \
--build=$CBUILD \