File: net/whois/files/gar-base.diff
base-0 patch-1
Line 1Line 1
diff -Nru tmp/whois-4.5.25/Makefile work/whois-4.5.21/Makefile
--- tmp/whois-4.5.25/Makefile        Mon Nov 19 14:23:52 2001
+++ work/whois-4.5.25/Makefile        Fri Mar 15 23:18:24 2002
diff --speed-large-files --minimal -Nru tmp/whois-4.6.6/Makefile work/main.d/whois-4.6.6/Makefile
--- tmp/whois-4.6.6/Makefile        Wed Dec 4 16:22:15 2002
+++ work/main.d/whois-4.6.6/Makefile        Sun Aug 3 20:10:46 2003
Line Line
-prefix=/usr/local
-
OPTS=-O2

# Solaris
-prefix=/usr/local
-
OPTS=-O2

# Solaris
@@ -29,9 +27,9 @@
@@ -33,9 +31,9 @@
        perl make_tld_serv.pl < tld_serv_list > tld_serv.h

install: whois
-        install -m 0755 whois $(BASEDIR)$(prefix)/bin/
-        strip $(BASEDIR)$(prefix)/bin/whois
        perl make_tld_serv.pl < tld_serv_list > tld_serv.h

install: whois
-        install -m 0755 whois $(BASEDIR)$(prefix)/bin/
-        strip $(BASEDIR)$(prefix)/bin/whois
-        install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/
+        install -m 0755 whois $(DESTDIR)$(bindir)/
-        install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
+        install -m 0755 whois $(DESTDIR)$(bindir)/whois
+        strip $(DESTDIR)$(bindir)/whois
+        install -m 0644 whois.1 $(DESTDIR)$(mandir)/man1/
        cd po && $(MAKE) $@


+        strip $(DESTDIR)$(bindir)/whois
+        install -m 0644 whois.1 $(DESTDIR)$(mandir)/man1/
        cd po && $(MAKE) $@


diff -Nru tmp/whois-4.5.25/po/Makefile work/whois-4.5.21/po/Makefile
--- tmp/whois-4.5.25/po/Makefile        Sun Sep 23 09:26:04 2001
+++ work/whois-4.5.25/po/Makefile        Fri Mar 15 23:19:54 2002
@@ -43,8 +43,8 @@
install: $(CATALOGS)
        for n in $(CATALOGS); do \
        l=`basename $$n .mo`; \
-        $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l; \
-        $(INSTALL) -m 755 -d $(INSTALLNLSDIR)/$$l/LC_MESSAGES; \
-        $(INSTALL) -m 644 $$n $(INSTALLNLSDIR)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
+        $(INSTALL) -m 755 -d $(DESTDIR)$(sharedstatedir)/$$l; \
+        $(INSTALL) -m 755 -d $(DESTDIR)$(sharedstatedir)/$$l/LC_MESSAGES; \
+        $(INSTALL) -m 644 $$n $(DESTDIR)$(sharedstatedir)/$$l/LC_MESSAGES/$(PACKAGE).mo; \
        done
diff --speed-large-files --minimal -Nru tmp/whois-4.6.6/po/Makefile work/main.d/whois-4.6.6/po/Makefile
--- tmp/whois-4.6.6/po/Makefile        Sun Jun 15 09:46:16 2003
+++ work/main.d/whois-4.6.6/po/Makefile        Sun Aug 3 20:11:19 2003
@@ -1,5 +1,5 @@
INSTALL= /usr/bin/install -c
-INSTALLNLSDIR=$(BASEDIR)/usr/share/locale
+INSTALLNLSDIR=$(DESTDIR)$(sharedstatedir)/locale

PACKAGE = whois