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
commit7676977f53effd68e28f0c0e7e1bb1b92fa48fb2 (patch)
treed7eed76c981dc4360f447f2ea5fa87bf55a9383f /net/libtorrent
parentdca7cd7e6c04f78f02a976c15314fa2f4585f3f6 (diff)
downloadpkgsrc-7676977f53effd68e28f0c0e7e1bb1b92fa48fb2.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