1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

add an option to use GNU make for those who wish

to perform parallel builds[1]; add a few mirrors to
tor-devel

Requested by:	h.h. [1]
This commit is contained in:
Brendan Fabeny 2011-09-23 19:58:35 +00:00
parent 2601be140b
commit 37da0d8f4d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282273
2 changed files with 19 additions and 2 deletions

View File

@ -7,17 +7,20 @@
PORTNAME= tor
DISTVERSION= 0.2.3.4-alpha
PORTREVISION= 1
CATEGORIES= security net ipv6
MASTER_SITES= https://www.torproject.org/dist/ \
ftp://ftp.bit.nl/mirror/tor/ \
http://cyberside.net.ee/tor/ \
http://mirrors.chaos-darmstadt.de/tor-mirror/dist/ \
http://mirror.host4site.co.il/torproject.org/dist/ \
http://mirror.tor.hu/dist/ \
http://onion.anonymo.us.org/dist/ \
http://theonionrouter.com/dist/ \
http://tor.amorphis.eu/dist/ \
http://tor.askapache.com/dist/ \
http://tor.beme-it.de/dist/ \
http://tor.blingblingsquad.net/dist/ \
http://tor.ccc.de/dist/ \
http://tor.cyberarmy.at/dist/ \
http://tor.homosu.net/dist/ \
@ -29,6 +32,7 @@ MASTER_SITES= https://www.torproject.org/dist/ \
http://tordistua.reactor-xg.kiev.ua/ \
http://torproj.xpdm.us/dist/ \
http://torproject.nwlinux.us/dist/ \
http://www.torproject.org.in/dist/ \
http://www.oignon.net/dist/ \
http://www.torproject.org.nyud.net/dist/ \
http://www.torproject.us/dist/ \
@ -52,6 +56,7 @@ MAKE_JOBS_UNSAFE= yes
OPTIONS= BUFFEREVENTS "use libevent's buffered IO" off \
BUFFREELISTS "freelists for buffer RAM" on \
GMAKE "parallel build safety via GNU make" off \
INSTR_DOWNLOADS "instrument downloads for analysis" off \
STATIC_TOR "build a static tor" off \
TCMALLOC "use the tcmalloc memory allocation library" off \
@ -71,6 +76,12 @@ MAN1= tor.1 tor-resolve.1 torify.1 tor-gencert.1
.include <bsd.port.pre.mk>
.if defined(WITH_GMAKE)
USE_GMAKE= yes
.else
MAKE_JOBS_UNSAFE= yes
.endif
.if ( (${OSVERSION} >= 703100 && ${OSVERSION} < 800000) || \
(${OSVERSION} >= 800500 && ${OSVERSION} < 900000) || \
(${OSVERSION} >= 900003) ) && !defined(USE_GCC) && empty(CC:M*gcc4*)

View File

@ -7,6 +7,7 @@
PORTNAME= tor
DISTVERSION= 0.2.2.33
PORTREVISION= 1
CATEGORIES= security net ipv6
MASTER_SITES= https://www.torproject.org/dist/ \
ftp://ftp.bit.nl/mirror/tor/ \
@ -53,9 +54,8 @@ CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" \
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/event2" \
TOR_LIBEVENT_LIBS="-levent-2.0"
MAKE_JOBS_UNSAFE= yes
OPTIONS= BUFFREELISTS "freelists for buffer RAM" on \
GMAKE "parallel build safety via GNU make" off \
INSTR_DOWNLOADS "instrument downloads for analysis" off \
TCMALLOC "use the tcmalloc memory allocation library" off \
THREADS "multi-threading support" on \
@ -74,6 +74,12 @@ MAN1= tor.1 tor-resolve.1 torify.1 tor-gencert.1
.include <bsd.port.pre.mk>
.if defined(WITH_GMAKE)
USE_GMAKE= yes
.else
MAKE_JOBS_UNSAFE= yes
.endif
.if ( (${OSVERSION} >= 703100 && ${OSVERSION} < 800000) || \
(${OSVERSION} >= 800500 && ${OSVERSION} < 900000) || \
(${OSVERSION} >= 900003) ) && !defined(USE_GCC) && empty(CC:M*gcc4*)