FreeBSD Bugzilla – Attachment 211589 Details for
Bug 243963
mail/spamd: Fails to compile with openssl 1.1.1 on 12.1-p2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
unbreaks the build by always linking LibreSSL
spamd.diff (text/plain), 1.15 KB, created by
yds
on 2020-02-12 13:43:35 UTC
(
hide
)
Description:
unbreaks the build by always linking LibreSSL
Filename:
MIME Type:
Creator:
yds
Created:
2020-02-12 13:43:35 UTC
Size:
1.15 KB
patch
obsolete
>diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile >index ddedaa0b255b..f02731d5d823 100644 >--- a/mail/spamd/Makefile >+++ b/mail/spamd/Makefile >@@ -53,15 +53,23 @@ SUB_FILES= pkg-install \ > > OPTIONS_DEFINE= DOCS > >-CFLAGS+= -I${OPENSSLINC} >-LDFLAGS+= -L${OPENSSLLIB} >- > .include <bsd.port.pre.mk> > >-.if ${SSL_DEFAULT} == base >-BROKEN_FreeBSD_12= error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') >-BROKEN_FreeBSD_13= error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') >-.endif >+# Requires libtls from LibreSSL >+.if ${SSL_DEFAULT:Mlibressl*} >+CFLAGS+= -I${OPENSSLINC} >+LDFLAGS+= -L${OPENSSLLIB} >+.else # SSL_DEFAULT >+BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage >+CFLAGS+= -I${WRKDIR}/libressl/include >+LDFLAGS+= -L${WRKDIR}/libressl/lib >+ >+# Don't use COPYTREE_SHARE here as it hard links files, and the original files >+# are owned by root, which creates problems of its own. >+pre-configure: >+ @cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX} \ >+ && ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1 >+.endif # SSL_DEFAULT > > do-install: > .if !defined(CPANEL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243963
: 211589