aboutsummaryrefslogtreecommitdiffstats
path: root/security/tor-devel/Makefile
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2012-11-22 19:30:22 +0800
committerbf <bf@FreeBSD.org>2012-11-22 19:30:22 +0800
commit130b7f4522342ead3ba077422d357b265ce464bb (patch)
treeb5d4210eac8f30f075b73bbfb08958dce6962bc8 /security/tor-devel/Makefile
parent0c18ff4095f2dbe95f4b10a7ae8f55077f960e31 (diff)
downloadfreebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.tar.gz
freebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.tar.zst
freebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.zip
update to 0.2.4.6-alpha
Feature safe: yes
Diffstat (limited to 'security/tor-devel/Makefile')
-rw-r--r--security/tor-devel/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 3b96a1796890..79170129111a 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tor
-DISTVERSION= 0.2.3.24-rc
+DISTVERSION= 0.2.4.6-alpha
CATEGORIES= security net ipv6
MASTER_SITES= https://www.torproject.org/dist/ \
ftp://ftp.bit.nl/mirror/tor/ \
@@ -116,6 +116,10 @@ CONFIGURE_ARGS+= --disable-gcc-hardening
WITH_OPENSSL_PORT= yes
.endif
+.if ( ${OSVERSION} < 800038 )
+CPPFLAGS+= -DSTAILQ_ENTRY=SIMPLEQ_ENTRY
+.endif
+
.if ${PORT_OPTIONS:MBUFFEREVENTS}
CONFIGURE_ARGS+= --enable-bufferevents
.else
@@ -181,9 +185,8 @@ post-patch:
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \
${WRKSRC}/contrib/tor-tsocks.conf.sample
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
- ${WRKSRC}/contrib/Makefile.in
- @${REINPLACE_CMD} -e '\|^install-data-am:|s|install-docDATA||' \
- ${WRKSRC}/doc/Makefile.in
+ -e "\|^install-data-am:|s|install-docDATA||" \
+ ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e "s@-ltcmalloc@${LOCALBASE}/lib/libtcmalloc.so@" \
-e "s@(-z) (relro|now)@-Wl,\1,\2@g" \
${WRKSRC}/configure
@@ -191,8 +194,8 @@ post-patch:
post-configure:
@${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
"s|-lpthread|${PTHREAD_LIBS}|g"
- @${REINPLACE_CMD} -e '\|^nodist_man_MANS =|s|$$|${MAN1}|' \
- ${WRKSRC}/doc/Makefile
+ @${REINPLACE_CMD} -e '\|^nodist_man1_MANS =|s|$$|${MAN1:S@^@doc/@}|' \
+ ${WRKSRC}/Makefile
post-install:
${MKDIR} /var/run/tor