Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= libtorrent |
3 |
PORTNAME= libtorrent |
4 |
PORTVERSION= 0.13.6 |
4 |
PORTVERSION= 0.13.6 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= net-p2p |
6 |
CATEGORIES= net-p2p |
6 |
MASTER_SITES= http://rtorrent.net/downloads/ |
7 |
MASTER_SITES= http://rtorrent.net/downloads/ |
7 |
|
8 |
|
Lines 19-31
Link Here
|
19 |
KQUEUE_DESC= Use kqueue(2) support |
20 |
KQUEUE_DESC= Use kqueue(2) support |
20 |
|
21 |
|
21 |
CONFIGURE_ARGS= --disable-debug |
22 |
CONFIGURE_ARGS= --disable-debug |
22 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLBASE}/lib -ssl -crypto" OPENSSL_CFLAGS="-I${OPENSSLBASE}/include" |
23 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I${OPENSSLINC}" |
23 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
24 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
25 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
26 |
USE_OPENSSL= yes |
27 |
USES= compiler:c++11-lang libtool pathfix pkgconfig ssl |
27 |
USES= compiler:c++11-lang libtool pathfix pkgconfig |
|
|
28 |
|
28 |
|
|
|
29 |
# This makes sure that /usr/local/lib appears before /usr/lib when |
30 |
# linking libtorrent to avoid linking with base's libcrypto. |
31 |
MAKE_ARGS= LDFLAGS="${LDFLAGS}" |
32 |
|
29 |
IPV6_CONFIGURE_ENABLE= ipv6 |
33 |
IPV6_CONFIGURE_ENABLE= ipv6 |
30 |
KQUEUE_CONFIGURE_WITH= kqueue |
34 |
KQUEUE_CONFIGURE_WITH= kqueue |
31 |
|
35 |
|
Lines 45-51
Link Here
|
45 |
.endif |
49 |
.endif |
46 |
|
50 |
|
47 |
post-patch: |
51 |
post-patch: |
48 |
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure |
|
|
49 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 |
52 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 |
50 |
@${FIND} ${WRKSRC} \( -name '*.h' -o -name '*.cc' \) -type f \ |
53 |
@${FIND} ${WRKSRC} \( -name '*.h' -o -name '*.cc' \) -type f \ |
51 |
-exec ${REINPLACE_CMD} -e 's/tr1::/std::/g' {} \; \ |
54 |
-exec ${REINPLACE_CMD} -e 's/tr1::/std::/g' {} \; \ |