FreeBSD Bugzilla – Attachment 201967 Details for
Bug 235496
mail/spamd: FreeBSD 12 build failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
statically link libressl to unbreak OpenSSL111
spamd.diff (text/plain), 1.28 KB, created by
yds
on 2019-02-12 22:07:25 UTC
(
hide
)
Description:
statically link libressl to unbreak OpenSSL111
Filename:
MIME Type:
Creator:
yds
Created:
2019-02-12 22:07:25 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile >index ce68cc7d9be6..2235a323f6bd 100644 >--- a/mail/spamd/Makefile >+++ b/mail/spamd/Makefile >@@ -12,8 +12,6 @@ COMMENT= Traps spammers with a very slow smtp-login and return 4xx error > > LICENSE= BSD2CLAUSE > >-BROKEN_SSL= openssl111 >- > USE_RC_SUBR?= obspamd obspamlogd > USES= ssl > >@@ -53,8 +51,24 @@ SUB_FILES= pkg-install \ > > OPTIONS_DEFINE= DOCS > >+.include <bsd.port.pre.mk> >+ >+.if ${SSL_DEFAULT:Mlibressl*} > CFLAGS+= -I${OPENSSLINC} >+CPPFLAGS+= -I${OPENSSLINC} > LDFLAGS+= -L${OPENSSLLIB} >+.else # SSL_DEFAULT >+BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage >+CFLAGS+= -I${WRKDIR}/libressl/include >+CPPFLAGS+= -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) >@@ -76,4 +90,4 @@ do-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/ > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
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 235496
:
201721
| 201967 |
204226