Wed Jun 16 13:07:03 2010 UTC ()
libtorrent strict alignment configure check is fooled by trap & emulate
of unaligned access on alpha, enable strict alignment explicitly on alpha.
bump rev.


(jakllsch)
diff -r1.37 -r1.38 pkgsrc/net/libtorrent/Makefile

cvs diff -r1.37 -r1.38 pkgsrc/net/libtorrent/Makefile (expand / switch to context diff)
--- pkgsrc/net/libtorrent/Makefile 2010/01/17 12:02:33 1.37
+++ pkgsrc/net/libtorrent/Makefile 2010/06/16 13:07:03 1.38
@@ -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/}
 
@@ -20,6 +20,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