diff options
Diffstat (limited to 'security/tor-devel/Makefile')
-rw-r--r-- | security/tor-devel/Makefile | 15 |
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 |