summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2010-06-16 13:07:03 +0000
committerjakllsch <jakllsch>2010-06-16 13:07:03 +0000
commit7c2bfa163c25a533dc056cb99811f9dd46cc26e1 (patch)
treed7eed76c981dc4360f447f2ea5fa87bf55a9383f /net/libtorrent
parent370a5a00b9b1fa71c8b90bc432efb8f9884941b1 (diff)
downloadpkgsrc-7c2bfa163c25a533dc056cb99811f9dd46cc26e1.tar.gz
libtorrent strict alignment configure check is fooled by trap & emulate
of unaligned access on alpha, enable strict alignment explicitly on alpha. bump rev.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index 453a94732be..b6fd6deea52 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2010/01/17 12:02:33 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2010/06/16 13:07:03 jakllsch Exp $
DISTNAME= libtorrent-0.12.6
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE:=downloads/}
@@ -21,6 +21,11 @@ GCC_REQD+= 3.3
.include "../../mk/bsd.prefs.mk"
+# configure check is fooled by trap & emulate of unaligned access on alpha
+.if (${MACHINE_ARCH} == "alpha")
+CONFIGURE_ARGS+= --enable-aligned
+.endif
+
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-kqueue
.endif