]> git.pld-linux.org Git - packages/whois.git/blob - whois-Makefile.patch
- updated to 4.7.11
[packages/whois.git] / whois-Makefile.patch
1 --- whois-4.6.9/Makefile.orig   2003-12-01 18:03:18.000000000 +0000
2 +++ whois-4.6.9/Makefile        2003-12-02 15:48:05.000000000 +0000
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 @@ -38,12 +40,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
29 diff -Nru whois-4.6.9/po/Makefile whois-4.6.9.new/po/Makefile
30 --- whois-4.6.9/po/Makefile     2003-06-15 16:46:16.000000000 +0000
31 +++ whois-4.6.9.new/po/Makefile 2003-12-02 15:55:37.000000000 +0000
32 @@ -1,5 +1,5 @@
33  INSTALL= /usr/bin/install -c
34 -INSTALLNLSDIR=$(BASEDIR)/usr/share/locale
35 +INSTALLNLSDIR=$(DESTDIR)/usr/share/locale
36  
37  PACKAGE = whois
38  
This page took 0.026972 seconds and 3 git commands to generate.