aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2020-10-10 15:07:07 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-10-10 13:46:39 -0300
commitbcf88ad2c00977427d4bb1e5f12f8c83f553f61c (patch)
tree28087388486f5773f682ffec37ac129893756154
parentdec5fb2d6c514e7ba05859e5816fb77d785b44e6 (diff)
downloadaports-bcf88ad2c00977427d4bb1e5f12f8c83f553f61c.tar.gz
aports-bcf88ad2c00977427d4bb1e5f12f8c83f553f61c.tar.bz2
aports-bcf88ad2c00977427d4bb1e5f12f8c83f553f61c.tar.xz
community/whois: fix CFLAGS
* fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/11998 for reference whois now builds with: gcc -Os -fomit-frame-pointer -DHAVE_GETOPT_LONG -DHAVE_GETADDRINFO -DHAVE_SHA_CRYPT -Wl,--as-needed -o whois whois.o utils.o simple_recode.o -lidn -lintl
-rw-r--r--community/whois/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/whois/APKBUILD b/community/whois/APKBUILD
index b46481f2f4..aab35c8cc4 100644
--- a/community/whois/APKBUILD
+++ b/community/whois/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=whois
pkgver=5.5.7
-pkgrel=0
+pkgrel=1
pkgdesc="Intelligent WHOIS client by Marco d'Itri"
url="https://github.com/rfc1036/whois"
arch="all"
@@ -16,6 +16,7 @@ source="$pkgver-$pkgver.tar.gz::https://github.com/rfc1036/whois/archive/v$pkgve
"
build() {
+ export CFLAGS="$CFLAGS -DHAVE_GETOPT_LONG -DHAVE_GETADDRINFO -DHAVE_SHA_CRYPT"
make CONFIG_FILE="/etc/whois.conf" HAVE_ICONV=1
}