pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libtorrent Attempt to fix build problems of "rtorr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a8b9b2c48fc
branches:  trunk
changeset: 641331:0a8b9b2c48fc
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Nov 04 08:36:17 2014 +0000

description:
Attempt to fix build problems of "rtorretn" on 32bit platforms like
Linux/i586 or NetBSD/i386.

diffstat:

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

diffs (23 lines):

diff -r 9cc99443d405 -r 0a8b9b2c48fc net/libtorrent/Makefile
--- a/net/libtorrent/Makefile   Tue Nov 04 06:58:14 2014 +0000
+++ b/net/libtorrent/Makefile   Tue Nov 04 08:36:17 2014 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2014/06/15 22:44:15 tron Exp $
+# $NetBSD: Makefile,v 1.53 2014/11/04 08:36:17 tron Exp $
 
 DISTNAME=      libtorrent-0.13.4
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://libtorrent.rakshasa.no/downloads/
 
@@ -43,8 +44,8 @@
                -fno-inline -fforce-addr
 .endif
 
-.if !empty(CC_VERSION:Mgcc-*) && !empty(MACHINE_ARCH:Mi?86)
-CXXFLAGS+=     -march=i486
+.if empty(MACHINE_ARCH:M*64*) && ${MACHINE_ARCH} != "alpha"
+CONFIGURE_ARGS+=       --disable-instrumentation
 .endif
 
 .include "../../security/openssl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index