Tue, 04 Sep 2012 19:54:34 +0200
Commit a hack that only repairs Linux builds and leaves SVR5 builds flawed.
This change forcibly (with a substitution) disables use of gettext(3).
whois/whois.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/whois/whois.spec Tue Sep 04 19:52:27 2012 +0200 1.2 +++ b/whois/whois.spec Tue Sep 04 19:54:34 2012 +0200 1.3 @@ -32,7 +32,7 @@ 1.4 Group: WHOIS 1.5 License: GPL 1.6 Version: 5.0.14 1.7 -Release: 20111226 1.8 +Release: 20120800 1.9 1.10 # list of sources 1.11 Source0: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.gz 1.12 @@ -55,6 +55,8 @@ 1.13 %setup -q 1.14 %{l_shtool} subst \ 1.15 -e 's;^OPTS[ ]*:*=.*$;OPTS=;' \ 1.16 + -e 's;^\(install:.*\)install-pos;\1;' \ 1.17 + -e 's;^\(all:.*\)pos;\1;' \ 1.18 Makefile 1.19 1.20 %build 1.21 @@ -74,7 +76,7 @@ 1.22 ;; 1.23 esac 1.24 1.25 - %{l_make} %{l_mflags} \ 1.26 + %{l_make} %{l_mflags -O} \ 1.27 CC="%{l_cc}" \ 1.28 CFLAGS="%{l_cflags -O}" \ 1.29 LDFLAGS="$ldflags"