- Update to 4.7.26.

- Unbreak.

PR:		ports/124829
Submitted by:	Lapo Luchini <lapo@lapo.it>
Approved by:	gabor (mentor, implicit), maintainer timeout (>2 weeks)
This commit is contained in:
Felippe de Meirelles Motta 2008-07-18 13:32:04 +00:00
parent 5acd637cd5
commit 68e3e657f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217043
4 changed files with 22 additions and 32 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= whois
PORTVERSION= 4.7.24
PORTREVISION= 1
PORTVERSION= 4.7.26
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@ -15,8 +14,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivo+kw+ports.bfa274@is-root.com
COMMENT= Marco d'Itri whois client
BROKEN= does not fetch
USE_GMAKE= yes
USE_ICONV= yes
USE_PERL5_BUILD= yes

View file

@ -1,3 +1,3 @@
MD5 (whois_4.7.24.tar.gz) = 479ebc79d1e8189e16ab51b4d8981529
SHA256 (whois_4.7.24.tar.gz) = 9b2841222f122670850d157fd76228aa0942f2f7c19694262904439f5ba50fe0
SIZE (whois_4.7.24.tar.gz) = 61416
MD5 (whois_4.7.26.tar.gz) = f069304ae912ff4fdec59f33de405076
SHA256 (whois_4.7.26.tar.gz) = 515ff7eae37f64f4786ce0fe5d9f7c91790cc64fe73bfda6764d5d4c627d1541
SIZE (whois_4.7.26.tar.gz) = 67809

View file

@ -1,6 +1,6 @@
--- Makefile.orig Thu Jan 10 22:19:40 2008
+++ Makefile Thu Jan 10 22:19:38 2008
@@ -6,23 +6,23 @@
--- Makefile.orig 2008-04-05 15:46:24.000000000 +0200
+++ Makefile 2008-06-21 14:57:26.965023476 +0200
@@ -6,8 +6,8 @@
#whois_LDADD += -lnsl -lsocket
# FreeBSD
@ -11,35 +11,25 @@
# OS/2 EMX
#LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp
-ifdef HAVE_LIBIDN
+.ifdef HAVE_LIBIDN
whois_LDADD += -lidn
whois_CFLAGS += -DHAVE_LIBIDN
-endif
+.endif
-ifdef HAVE_XCRYPT
+.ifdef HAVE_XCRYPT
mkpasswd_LDADD += -lxcrypt
mkpasswd_CFLAGS += -DHAVE_XCRYPT
-else
+.else
mkpasswd_LDADD += -lcrypt
-endif
+.endif
PERL := perl
@@ -55,9 +55,8 @@
@@ -57,16 +57,15 @@
##############################################################################
install: whois
install -d $(BASEDIR)$(prefix)/bin/
install -d $(BASEDIR)$(prefix)/share/man/man1/
- install -d $(BASEDIR)$(prefix)/share/man/man1/
- install -m 0755 whois $(BASEDIR)$(prefix)/bin/
- install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
- cd po && $(MAKE) $@
+ install -d $(BASEDIR)$(prefix)/man/man1/
+ install -m 0755 whois ${PREFIX}/bin/mwhois
+ install -m 0644 whois.1 ${PREFIX}/man/man1/mwhois.1
install-mkpasswd: mkpasswd
install -d $(BASEDIR)$(prefix)/bin/
- install -d $(BASEDIR)$(prefix)/share/man/man1/
+ install -d $(BASEDIR)$(prefix)/man/man1/
install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
- install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
+ install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/man/man1/
distclean: clean
rm -f po/whois.pot

View file

@ -1,7 +1,9 @@
bin/mwhois
%%NLS%%share/locale/cs/LC_MESSAGES/whois.mo
%%NLS%%share/locale/de/LC_MESSAGES/whois.mo
%%NLS%%share/locale/el/LC_MESSAGES/whois.mo
%%NLS%%share/locale/es/LC_MESSAGES/whois.mo
%%NLS%%share/locale/eu/LC_MESSAGES/whois.mo
%%NLS%%share/locale/fr/LC_MESSAGES/whois.mo
%%NLS%%share/locale/it/LC_MESSAGES/whois.mo
%%NLS%%share/locale/ja/LC_MESSAGES/whois.mo