Lines 53-67
SUB_FILES= pkg-install \
Link Here
|
53 |
|
53 |
|
54 |
OPTIONS_DEFINE= DOCS |
54 |
OPTIONS_DEFINE= DOCS |
55 |
|
55 |
|
56 |
CFLAGS+= -I${OPENSSLINC} |
|
|
57 |
LDFLAGS+= -L${OPENSSLLIB} |
58 |
|
59 |
.include <bsd.port.pre.mk> |
56 |
.include <bsd.port.pre.mk> |
60 |
|
57 |
|
61 |
.if ${SSL_DEFAULT} == base |
58 |
# Requires libtls from LibreSSL |
62 |
BROKEN_FreeBSD_12= error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') |
59 |
.if ${SSL_DEFAULT:Mlibressl*} |
63 |
BROKEN_FreeBSD_13= error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') |
60 |
CFLAGS+= -I${OPENSSLINC} |
64 |
.endif |
61 |
LDFLAGS+= -L${OPENSSLLIB} |
|
|
62 |
.else # SSL_DEFAULT |
63 |
BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage |
64 |
CFLAGS+= -I${WRKDIR}/libressl/include |
65 |
LDFLAGS+= -L${WRKDIR}/libressl/lib |
66 |
|
67 |
# Don't use COPYTREE_SHARE here as it hard links files, and the original files |
68 |
# are owned by root, which creates problems of its own. |
69 |
pre-configure: |
70 |
@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \ |
71 |
&& ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1 |
72 |
.endif # SSL_DEFAULT |
65 |
|
73 |
|
66 |
do-install: |
74 |
do-install: |
67 |
.if !defined(CPANEL) |
75 |
.if !defined(CPANEL) |