ports/net/whois/files/patch-po_Makefile
Rainer Hurling 452cdd454d net/whois: Update to 5.5.7
Changes for 5.5.7[1]:
  * Implemented support for CIDR queries to whois.arin.net
    The old behaviour caused the server to return no results, now when
    querying for ip/length the server returns a result if there is an
    exact match
  * Added the .ao, .bh, .mm, and .xn--pgbs0dh (Tunisia) TLD servers
  * Added some .ru and .su SLD servers
  * Updated the .th and .xn--o3cw4h TLD servers
  * Updated the .cy, .jo, .lb, .np, .xn--mgbayh7gpa and .xn--qxam TLD URLs
  * Updated the charset for whois.ati.tn
  * Updated the list of new gTLDs

[1] 7f9fdae2a9

PR:		250275
Submitted by:	Juraj Lutter <juraj@lutter.sk>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26861
2020-10-20 16:45:10 +00:00

35 lines
686 B
Text

--- po/Makefile.orig 2020-10-03 15:43:15 UTC
+++ po/Makefile
@@ -1,4 +1,7 @@
prefix = /usr
+ifdef PREFIX
+prefix := $(PREFIX)
+endif
ifdef DESTDIR
BASEDIR := $(DESTDIR)
@@ -8,12 +11,14 @@ INSTALL= install
INSTALLNLSDIR=$(BASEDIR)$(prefix)/share/locale
-PACKAGE = whois
+PACKAGE = %%MWHOIS%%
CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
POTFILES=../whois.c ../mkpasswd.c
+.SUFFIXES: .po .mo
+
all: $(PACKAGE).pot $(CATALOGS)
$(PACKAGE).pot: $(POTFILES)
@@ -45,7 +50,7 @@ clean:
rm -f *.mo
distclean: clean
- rm -f whois.pot
+ rm -f %%MWHOIS%%.pot
install: $(CATALOGS)
for n in $(CATALOGS); do \