]> git.pld-linux.org Git - packages/whois.git/blob - whois-Makefile.patch
- fixed pl.po-update patch (sent to author)
[packages/whois.git] / whois-Makefile.patch
1 --- whois-4.5.31/Makefile.orig  Fri Oct 11 12:13:59 2002
2 +++ whois-4.5.31/Makefile       Wed Oct 16 12:49:37 2002
3 @@ -1,4 +1,6 @@
4 -prefix=/usr/local
5 +prefix=/usr
6 +bindir=$(prefix)/bin
7 +mandir=/usr/share/man
8  
9  OPTS=-O2
10  
11 @@ -33,12 +35,12 @@
12         perl make_tld_serv.pl < tld_serv_list > tld_serv.h
13  
14  install: whois
15 -       install -m 0755 whois $(BASEDIR)$(prefix)/bin/
16 -       strip $(BASEDIR)$(prefix)/bin/whois
17 -       install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
18 +       install -d $(DESTDIR)$(bindir)
19 +       install -d $(DESTDIR)$(mandir)/man1
20 +       install -s -m 0755 whois $(DESTDIR)$(bindir)
21 +       install -m 0644 whois.1 $(DESTDIR)$(mandir)/man1
22         cd po && $(MAKE) $@
23  
24 -
25  distclean: clean
26         rm -f po/whois.pot
27  
28 diff -Nru whois-4.4.5/po/Makefile whois-4.4.5.new/po/Makefile
29 --- whois-4.4.5/po/Makefile     Sat Dec 18 20:49:31 1999
30 +++ whois-4.4.5.new/po/Makefile Thu Dec 30 21:31:15 1999
31 @@ -1,5 +1,5 @@
32  INSTALL= /usr/bin/install -c
33 -INSTALLNLSDIR=$(BASEDIR)/usr/share/locale
34 +INSTALLNLSDIR=$(DESTDIR)/usr/share/locale
35
36  PACKAGE = whois
37
This page took 0.021031 seconds and 3 git commands to generate.