aboutsummaryrefslogtreecommitdiff
path: root/security/tor
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-09-30 01:55:03 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-09-30 01:55:03 +0000
commitf188497994608cf6db3f6aa0d8dbd2ec7173d505 (patch)
treed3baa63823486109a32706e64a5f3e683082fa04 /security/tor
parent52b244f12b6d9c8df44654d426c6c086f31f83be (diff)
downloadports-f188497994608cf6db3f6aa0d8dbd2ec7173d505.tar.gz
ports-f188497994608cf6db3f6aa0d8dbd2ec7173d505.zip
security/tor: Fix build with mips64, powerpc64 and sparc64
Port changes: * Add USES=compiler:c11 * Add USE_CSTD=gnu99 Situation with MIPS isn't clear, Nathan <ndowens@yahoo.com> says that it works only after adding USES=autoreconf. The Tor Project should resolve this discrepancy that autoreconf alters the outcome: https://trac.torproject.org/projects/tor/ticket/27901 PR: 231779 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (initial version)
Notes
Notes: svn path=/head/; revision=480932
Diffstat (limited to 'security/tor')
-rw-r--r--security/tor/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile
index 903412994130..a6d3027dac44 100644
--- a/security/tor/Makefile
+++ b/security/tor/Makefile
@@ -12,11 +12,9 @@ COMMENT= Anonymizing overlay network for TCP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_mips64= does not build: error: Need a uint128_t implementation!
-BROKEN_powerpc64= does not build: error: Need a uint128_t implementation!
-BROKEN_sparc64= does not build: error: Need a uint128_t implementation!
+USES= compiler:c11 cpe gmake pkgconfig # should be compiler:c99 or compiler:gnu99
+USE_CSTD= gnu99 # until this bug report is closed: https://trac.torproject.org/projects/tor/ticket/27900
-USES= cpe gmake pkgconfig
CPE_VENDOR= torproject
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl-dir="${OPENSSLBASE}"