aboutsummaryrefslogtreecommitdiffstats
path: root/main/opensmtpd
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-03-28 15:08:39 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-03-28 17:55:41 +0200
commit8430ef2f38182df621a97763a5443d8c3728f622 (patch)
treec71159b42838983b532450d9a6c431a39de74cf4 /main/opensmtpd
parent062ba8f4fdd0e93447c0c4864443cc836c3fbaa7 (diff)
downloadaports-8430ef2f38182df621a97763a5443d8c3728f622.tar.bz2
aports-8430ef2f38182df621a97763a5443d8c3728f622.tar.xz
main/opensmtpd: update config guess
Update config guess before build and change config.guess permission to allow update.
Diffstat (limited to 'main/opensmtpd')
-rw-r--r--main/opensmtpd/APKBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/opensmtpd/APKBUILD b/main/opensmtpd/APKBUILD
index c522e50a1a..ea39e337ec 100644
--- a/main/opensmtpd/APKBUILD
+++ b/main/opensmtpd/APKBUILD
@@ -21,6 +21,15 @@ source="https://www.opensmtpd.org/archives/${pkgname}-${pkgver}.tar.gz
options="suid"
builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ default_prepare || return 1
+
+ cd "$builddir"
+ chmod 644 config.guess
+ update_config_guess || return 1
+}
+
build() {
cd "$builddir"
./configure \