Lines 12-18
Link Here
|
12 |
LICENSE= GPLv2+ |
12 |
LICENSE= GPLv2+ |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
USES= autoreconf compiler:c++11-lang libtool pathfix pkgconfig ssl |
14 |
USES= localbase:ldflags autoreconf compiler:c++11-lang libtool pathfix pkgconfig ssl |
|
|
15 |
|
16 |
BROKEN_SSL= openssl111 |
17 |
BROKEN_SSL_REASON_openssl111= Does not compile with Openssl 1.1.x yet |
18 |
|
15 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
16 |
CONFIGURE_ARGS= --disable-debug |
20 |
CONFIGURE_ARGS= --disable-debug |
17 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ |
21 |
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ |
Lines 31-36
Link Here
|
31 |
.include <bsd.port.pre.mk> |
35 |
.include <bsd.port.pre.mk> |
|
|
36 |
.if ${OPSYS} == FreeBSD && \ |
37 |
((${OSVERSION} > 1200084 && ${SSL_DEFAULT} == "base") || \ |
38 |
(${SSL_DEFAULT} == "openssl111")) |
39 |
BROKEN= Does not compile with Openssl 1.1.x yet |
40 |
.endif |
41 |
|
32 |
# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when |
42 |
# Disable instrumentation, which requires 64-bit atomic ops, on i386 (when |
33 |
# using gcc) and powerpc to avoid linking errors: |
43 |
# using gcc) and powerpc to avoid linking errors: |
34 |
# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' |
44 |
# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' |