fix whois build
This commit is contained in:
parent
3ebc49c5c0
commit
a34479850e
1 changed files with 3 additions and 3 deletions
|
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
|||
for i in Makefile po/Makefile; do
|
||||
substituteInPlace $i --replace "prefix = /usr" "prefix = $out"
|
||||
done
|
||||
|
||||
substituteInPlace Makefile --replace "DEFS += HAVE_ICONV" "DEFS += HAVE_ICONV\nwhois_LDADD += -liconv"
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
echo "whois_LDADD += -liconv" >> Makefile
|
||||
'';
|
||||
|
||||
makeFlags = [ "HAVE_ICONV=1" ];
|
||||
|
@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = https://packages.qa.debian.org/w/whois.html;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue