X-Original-To: alpine-aports@lists.alpinelinux.org Received: from bongo.tulip.relay.mailchannels.net (bongo.tulip.relay.mailchannels.net [23.83.218.21]) by lists.alpinelinux.org (Postfix) with ESMTP id 5D49F5C4818 for ; Mon, 22 Aug 2016 05:16:33 +0000 (GMT) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9C33AE0500 for ; Mon, 22 Aug 2016 05:16:30 +0000 (UTC) Received: from ocean.mxroute.com (ip-10-107-69-155.us-west-2.compute.internal [10.107.69.155]) by relay.mailchannels.net (Postfix) with ESMTPA id B92C8E0171 for ; Mon, 22 Aug 2016 05:16:29 +0000 (UTC) X-Sender-Id: mxroute|x-authuser|developer@it-offshore.co.uk Received: from ocean.mxroute.com (ocean.mxroute.com [10.135.9.54]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.6); Mon, 22 Aug 2016 05:16:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: mxroute|x-authuser|developer@it-offshore.co.uk X-MailChannels-Auth-Id: mxroute X-MC-Loop-Signature: 1471842990006:616837686 X-MC-Ingress-Time: 1471842990005 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=it-offshore.co.uk; s=default; h=References:In-Reply-To:Message-Id:Date: Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LBnFEv1saolpJ0DyfIyjjpU7maX/Niw/aHor6opHS7U=; b=a6hG643XHzWvaQXg5kbBkjniK PQtvxIQZGiHhM1UiAfJkaimRnib3efoJIlGCvdoItI2WDAfyplzjXNc89ti+kRE7IsysDov7lyaRX V6+QNNyHc5BD7tt1dDbtf2HEwl02Y60SB8F9wipJDM4HKQhM7nYWowQ2gXfkSBjCXWwzbJL0orstR AbFP6cduacJ874Y/GUd5CJ/aM8P14EhaQyIErRYDjcip4Hso1qDusCBSnZO+gAl9RuOHVavE1Upc4 +TQ7Z65jsEL2yImCfQAnbveKYd4+WtZ+7Z2APfW7o3aXvoby3lEMrCcgiy2SATG/v1xDYzTqI1IaN wwSLeGiCg==; From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 4/7] community/whois: fix undefined libintl Date: Mon, 22 Aug 2016 05:16:01 +0000 Message-Id: <20160822051604.48580-5-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160822051604.48580-1-developer@it-offshore.co.uk> References: <20160822051604.48580-1-developer@it-offshore.co.uk> X-AuthUser: developer@it-offshore.co.uk X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- community/whois/APKBUILD | 17 +++++++++++------ community/whois/undefined-libintl.patch | 11 +++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 community/whois/undefined-libintl.patch diff --git a/community/whois/APKBUILD b/community/whois/APKBUILD index 64371ca..831ee21 100644 --- a/community/whois/APKBUILD +++ b/community/whois/APKBUILD @@ -2,21 +2,23 @@ # Maintainer: Stuart Cardall pkgname=whois pkgver=5.2.12 -pkgrel=1 +pkgrel=2 pkgdesc="Intelligent WHOIS client by Marco d'Itri" url="http://www.linux.it/~md/software/" arch="all" license="GPL2" makedepends="$depends_dev perl libidn-dev gettext-dev" 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 build() { cd "$_builddir" make CONFIG_FILE="/etc/whois.conf" \ HAVE_LIBIDN=1 HAVE_ICONV=1 \ - CFLAGS="$CFLAGS -lintl $CXXFLAGS" || return 1 + || return 1 } package() { @@ -25,6 +27,9 @@ package() { install -D -m644 whois.conf "$pkgdir/etc/whois.conf" } -md5sums="c7d86f4cdc97f92722b2500bf12aefd1 whois-5.2.12.tar.gz" -sha256sums="8485aa02909fd6aaa1cfd8b5e63559310879bf8a62793a83c96a4502164b968a whois-5.2.12.tar.gz" -sha512sums="812ae2a344e5b190175213cca1b10cc58821312f8ad8b31995ecb6963e71b1343ccfa6f06ce896856b9c9622be3dfb22e1fba30ed254f25373f08b4d84143552 whois-5.2.12.tar.gz" +md5sums="c7d86f4cdc97f92722b2500bf12aefd1 whois-5.2.12.tar.gz +2242ddc5ddd2bb98465e467e324de686 undefined-libintl.patch" +sha256sums="8485aa02909fd6aaa1cfd8b5e63559310879bf8a62793a83c96a4502164b968a whois-5.2.12.tar.gz +27876ce871f1116b6bc5baeab5176787b36c5ca1574dff2267b236f97b2a35d4 undefined-libintl.patch" +sha512sums="812ae2a344e5b190175213cca1b10cc58821312f8ad8b31995ecb6963e71b1343ccfa6f06ce896856b9c9622be3dfb22e1fba30ed254f25373f08b4d84143552 whois-5.2.12.tar.gz +83de8846813ee25acda5027a79b71932cdd8d9a13acac6f7d7831c1f84b154fb865abda510d82222e6edb344dead7f480734b1fe83dc3ba8a3ec81b35ba0ab69 undefined-libintl.patch" diff --git a/community/whois/undefined-libintl.patch b/community/whois/undefined-libintl.patch new file mode 100644 index 0000000..0150053 --- /dev/null +++ b/community/whois/undefined-libintl.patch @@ -0,0 +1,11 @@ +--- 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 -- 2.9.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---