Lines 23-33
Link Here
|
23 |
LDFLAGS+= -L${LOCALBASE}/lib |
23 |
LDFLAGS+= -L${LOCALBASE}/lib |
24 |
CONFIGURE_ARGS= --without-x |
24 |
CONFIGURE_ARGS= --without-x |
25 |
|
25 |
|
26 |
OPTIONS_DEFINE= GNUTLS OPENSSL GCRYPT |
26 |
OPTIONS_DEFINE= GNUTLS OPENSSL GCRYPT IPV6 |
27 |
OPTIONS_DEFAULT= OPENSSL |
27 |
OPTIONS_DEFAULT= OPENSSL IPV6 |
28 |
GNUTLS_DESC= Enable GnuTLS support |
28 |
GNUTLS_DESC= Enable GnuTLS support |
29 |
OPENSSL_DESC= Enable OpenSSL support |
29 |
OPENSSL_DESC= Enable OpenSSL support |
30 |
GCRYPT_DESC= Enable libgcrypt support |
30 |
GCRYPT_DESC= Enable libgcrypt support |
|
|
31 |
IPV6_DESC= Enable IPv6 support |
31 |
|
32 |
|
32 |
.include <bsd.port.options.mk> |
33 |
.include <bsd.port.options.mk> |
33 |
|
34 |
|
Lines 40-46
Link Here
|
40 |
|
41 |
|
41 |
.if ${PORT_OPTIONS:MOPENSSL} |
42 |
.if ${PORT_OPTIONS:MOPENSSL} |
42 |
USE_OPENSSL= yes |
43 |
USE_OPENSSL= yes |
43 |
CONFIGURE_ARGS= --with-ssl |
44 |
CONFIGURE_ARGS+= --with-ssl |
44 |
.else |
45 |
.else |
45 |
CONFIGURE_ARGS+= --without-crypto --without-ssl |
46 |
CONFIGURE_ARGS+= --without-crypto --without-ssl |
46 |
.endif |
47 |
.endif |
Lines 52-57
Link Here
|
52 |
CONFIGURE_ARGS+= --without-gcrypt |
53 |
CONFIGURE_ARGS+= --without-gcrypt |
53 |
.endif |
54 |
.endif |
54 |
|
55 |
|
|
|
56 |
.if ${PORT_OPTIONS:MIPV6} |
57 |
CONFIGURE_ARGS+= --with-ipv6 |
58 |
.else |
59 |
CONFIGURE_ARGS+= --without-ipv6 |
60 |
.endif |
61 |
|
55 |
post-patch: |
62 |
post-patch: |
56 |
@${REINPLACE_CMD} -e \ |
63 |
@${REINPLACE_CMD} -e \ |
57 |
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
64 |
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |