Commit bcf88ad2 authored by Stuart Cardall's avatar Stuart Cardall Committed by Leo

community/whois: fix CFLAGS

* fixes alpine/aports#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
parent dec5fb2d
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment