Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= libtorrent |
3 |
PORTNAME= libtorrent |
4 |
PORTVERSION= 0.13.8 |
4 |
PORTVERSION= 0.13.8 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= net-p2p |
6 |
CATEGORIES= net-p2p |
6 |
MASTER_SITES= https://rtorrent.net/downloads/ |
7 |
MASTER_SITES= https://rtorrent.net/downloads/ |
7 |
|
8 |
|
Lines 15-20
Link Here
|
15 |
|
16 |
|
16 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
17 |
CONFIGURE_ARGS= --disable-debug |
18 |
CONFIGURE_ARGS= --disable-debug |
|
|
19 |
|
18 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ |
20 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ |
19 |
${OPENSSLINC}" |
21 |
${OPENSSLINC}" |
20 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
Lines 29-34
Link Here
|
29 |
|
31 |
|
30 |
KQUEUE_CONFIGURE_WITH= kqueue |
32 |
KQUEUE_CONFIGURE_WITH= kqueue |
31 |
|
33 |
|
|
|
34 |
#EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.ac |
35 |
|
32 |
.include <bsd.port.pre.mk> |
36 |
.include <bsd.port.pre.mk> |
33 |
|
37 |
|
34 |
# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when |
38 |
# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when |
Lines 39-44
Link Here
|
39 |
CONFIGURE_ARGS+=--disable-instrumentation |
43 |
CONFIGURE_ARGS+=--disable-instrumentation |
40 |
.endif |
44 |
.endif |
41 |
|
45 |
|
|
|
46 |
post-configure: |
47 |
${REINPLACE_CMD} 's|PKG_CHECK_MODULES.*||g' \ |
48 |
configure.ac # cause of "autoreconf" |
49 |
|
42 |
post-install: |
50 |
post-install: |
43 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent.so.21.0.0 |
51 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent.so.21.0.0 |
44 |
|
52 |
|