pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libtorrent libtorrent: Pass -Wl, -R to the linker i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7659d2c75c6b
branches:  trunk
changeset: 335215:7659d2c75c6b
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jun 15 12:30:47 2019 +0000

description:
libtorrent: Pass -Wl,-R to the linker instead of -W,-lR.

The latter smells like a typo and makes OpenSSL 1.1 detection fail.

diffstat:

 net/libtorrent/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b34e83cd93c0 -r 7659d2c75c6b net/libtorrent/Makefile
--- a/net/libtorrent/Makefile   Sat Jun 15 10:03:52 2019 +0000
+++ b/net/libtorrent/Makefile   Sat Jun 15 12:30:47 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2018/06/24 16:57:58 adam Exp $
+# $NetBSD: Makefile,v 1.60 2019/06/15 12:30:47 nia Exp $
 
 DISTNAME=      libtorrent-0.13.7
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://rtorrent.net/downloads/
 
@@ -51,7 +52,7 @@
 .if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc)
 OPENSSL_CFLAGS=        -I${BUILDLINK_PREFIX.openssl}/include
 OPENSSL_LIBS=  -L${BUILDLINK_PREFIX.openssl}/lib \
-               -W,-lR${BUILDLINK_PREFIX.openssl}/lib
+               -Wl,-R${BUILDLINK_PREFIX.openssl}/lib
 
 CONFIGURE_ENV+=        OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
 CONFIGURE_ENV+=        OPENSSL_LIBS=${OPENSSL_LIBS:Q}



Home | Main Index | Thread Index | Old Index