Skip to content
Snippets Groups Projects
Commit 2379c836 authored by Stuart Cardall's avatar Stuart Cardall Committed by Jakub Jirutka
Browse files

community/whois: fix undefined libintl

parent 0b4f85dd
No related branches found
No related tags found
No related merge requests found
...@@ -2,21 +2,23 @@ ...@@ -2,21 +2,23 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=whois pkgname=whois
pkgver=5.2.12 pkgver=5.2.12
pkgrel=1 pkgrel=2
pkgdesc="Intelligent WHOIS client by Marco d'Itri" pkgdesc="Intelligent WHOIS client by Marco d'Itri"
url="http://www.linux.it/~md/software/" url="http://www.linux.it/~md/software/"
arch="" arch="all"
license="GPL2" license="GPL2"
makedepends="$depends_dev perl libidn-dev gettext-dev" makedepends="$depends_dev perl libidn-dev gettext-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/rfc1036/$pkgname/archive/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/rfc1036/$pkgname/archive/v$pkgver.tar.gz
undefined-libintl.patch
"
_builddir="$srcdir"/$pkgname-$pkgver _builddir="$srcdir"/$pkgname-$pkgver
build() { build() {
cd "$_builddir" cd "$_builddir"
make CONFIG_FILE="/etc/whois.conf" \ make CONFIG_FILE="/etc/whois.conf" \
HAVE_LIBIDN=1 HAVE_ICONV=1 \ HAVE_LIBIDN=1 HAVE_ICONV=1 \
CFLAGS="$CFLAGS -lintl $CXXFLAGS" || return 1 || return 1
} }
package() { package() {
...@@ -25,6 +27,9 @@ package() { ...@@ -25,6 +27,9 @@ package() {
install -D -m644 whois.conf "$pkgdir/etc/whois.conf" install -D -m644 whois.conf "$pkgdir/etc/whois.conf"
} }
md5sums="c7d86f4cdc97f92722b2500bf12aefd1 whois-5.2.12.tar.gz" md5sums="c7d86f4cdc97f92722b2500bf12aefd1 whois-5.2.12.tar.gz
sha256sums="8485aa02909fd6aaa1cfd8b5e63559310879bf8a62793a83c96a4502164b968a whois-5.2.12.tar.gz" 2242ddc5ddd2bb98465e467e324de686 undefined-libintl.patch"
sha512sums="812ae2a344e5b190175213cca1b10cc58821312f8ad8b31995ecb6963e71b1343ccfa6f06ce896856b9c9622be3dfb22e1fba30ed254f25373f08b4d84143552 whois-5.2.12.tar.gz" sha256sums="8485aa02909fd6aaa1cfd8b5e63559310879bf8a62793a83c96a4502164b968a whois-5.2.12.tar.gz
27876ce871f1116b6bc5baeab5176787b36c5ca1574dff2267b236f97b2a35d4 undefined-libintl.patch"
sha512sums="812ae2a344e5b190175213cca1b10cc58821312f8ad8b31995ecb6963e71b1343ccfa6f06ce896856b9c9622be3dfb22e1fba30ed254f25373f08b4d84143552 whois-5.2.12.tar.gz
83de8846813ee25acda5027a79b71932cdd8d9a13acac6f7d7831c1f84b154fb865abda510d82222e6edb344dead7f480734b1fe83dc3ba8a3ec81b35ba0ab69 undefined-libintl.patch"
--- whois-5.2.12/Makefile
+++ whois-5.2.12/Makefile.new
@@ -14,7 +14,7 @@
# FreeBSD
#whois_LDADD += -liconv
-#LIBS += -L/usr/local/lib -lintl
+LIBS += -lintl
#INCLUDES += -I/usr/local/include
# OS/2 EMX
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment