View | Details | Raw Unified | Return to bug 235496 | Differences between
and this patch

Collapse All | Expand All

(-)b/mail/spamd/Makefile (-3 / +17 lines)
Lines 12-19 COMMENT= Traps spammers with a very slow smtp-login and return 4xx error Link Here
12
12
13
LICENSE=	BSD2CLAUSE
13
LICENSE=	BSD2CLAUSE
14
14
15
BROKEN_SSL=	openssl111
16
17
USE_RC_SUBR?=	obspamd obspamlogd
15
USE_RC_SUBR?=	obspamd obspamlogd
18
USES=		ssl
16
USES=		ssl
19
17
Lines 53-60 SUB_FILES= pkg-install \ Link Here
53
51
54
OPTIONS_DEFINE=	DOCS
52
OPTIONS_DEFINE=	DOCS
55
53
54
.include <bsd.port.pre.mk>
55
56
.if ${SSL_DEFAULT:Mlibressl*}
56
CFLAGS+=	-I${OPENSSLINC}
57
CFLAGS+=	-I${OPENSSLINC}
58
CPPFLAGS+=	-I${OPENSSLINC}
57
LDFLAGS+=	-L${OPENSSLLIB}
59
LDFLAGS+=	-L${OPENSSLLIB}
60
.else # SSL_DEFAULT
61
BUILD_DEPENDS+=	${NONEXISTENT}:security/libressl:stage
62
CFLAGS+=	-I${WRKDIR}/libressl/include
63
CPPFLAGS+=	-I${WRKDIR}/libressl/include
64
LDFLAGS+=	-L${WRKDIR}/libressl/lib
65
66
# Don't use COPYTREE_SHARE here as it hard links files, and the original files
67
# are owned by root, which creates problems of its own.
68
pre-configure:
69
	@cd `${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl`${PREFIX}\
70
	    && ${FIND} -E . ! -name *.so\* | ${CPIO} -dump ${WRKDIR}/libressl >/dev/null 2>&1
71
.endif # SSL_DEFAULT
58
72
59
do-install:
73
do-install:
60
.if !defined(CPANEL)
74
.if !defined(CPANEL)
Lines 76-79 do-install: Link Here
76
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
90
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
77
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/
91
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/
78
92
79
.include <bsd.port.mk>
93
.include <bsd.port.post.mk>

Return to bug 235496