summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-12-18 15:00:00 +0100
committerMichael Weber <xmw@gentoo.org>2017-12-18 15:00:00 +0100
commit06dc8fe940a21b14b308bdf96ccf81d8da732a75 (patch)
tree9e949fd2654813f4b8ed5de80ea1811d3fab8fbf /net-dns/dnssec-lookup
parentnet-analyzer/thc-ipv6: Remove old versions. (diff)
downloadgentoo-06dc8fe940a21b14b308bdf96ccf81d8da732a75.tar.gz
gentoo-06dc8fe940a21b14b308bdf96ccf81d8da732a75.tar.bz2
gentoo-06dc8fe940a21b14b308bdf96ccf81d8da732a75.zip
net-dns/dnssec-lookup: Remove unused(?) -lnsl.
Closes: https://bugs.gentoo.org/641562 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-dns/dnssec-lookup')
-rw-r--r--net-dns/dnssec-lookup/dnssec-lookup-2.2.ebuild2
-rw-r--r--net-dns/dnssec-lookup/files/dnssec-lookup-2.2-unused-libs.patch11
2 files changed, 13 insertions, 0 deletions
diff --git a/net-dns/dnssec-lookup/dnssec-lookup-2.2.ebuild b/net-dns/dnssec-lookup/dnssec-lookup-2.2.ebuild
index d05db655168..c79848fe5e5 100644
--- a/net-dns/dnssec-lookup/dnssec-lookup-2.2.ebuild
+++ b/net-dns/dnssec-lookup/dnssec-lookup-2.2.ebuild
@@ -22,6 +22,8 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}"/${P}-unused-libs.patch )
+
src_configure() {
eqmake4 ${MY_PN}.pro PREFIX=/usr
}
diff --git a/net-dns/dnssec-lookup/files/dnssec-lookup-2.2-unused-libs.patch b/net-dns/dnssec-lookup/files/dnssec-lookup-2.2-unused-libs.patch
new file mode 100644
index 00000000000..bcefe0f2036
--- /dev/null
+++ b/net-dns/dnssec-lookup/files/dnssec-lookup-2.2-unused-libs.patch
@@ -0,0 +1,11 @@
+--- lookup-2.2/src/src.pro
++++ lookup-2.2/src/src.pro
+@@ -11,7 +11,7 @@
+ INCLUDEPATH += /home/hardaker/src/dnssec/dnssec-tools.git/dnssec-tools/validator/include
+
+ isEmpty(ANDROID_PLATFORM) {
+- LIBS += -lval-threads -lsres -lnsl -lssl -lcrypto -lpthread
++ LIBS += -lval-threads -lsres -lssl -lcrypto -lpthread
+ } else {
+ LIBS += -L/opt/android-external-openssl/lib/
+ LIBS += -L/root/necessitas/android-ndk-r5c/platforms/android-4/arch-arm/usr/lib/