forked from Lainports/freebsd-ports
- Fix build with option IPV6 disabled
PR: 193827 Submitted by: kyuupichan@gmail.com MFH: 2014Q4
This commit is contained in:
parent
8df4b4fda7
commit
127a7d378e
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:rss,ssl,rbl2smtpd/}
|
|||
PATCH_SITE_SUBDIR+= garga/ucspi-tcp/:rss,ssl,rbl2smtpd
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/^extern int errno;/#include <errno.h>/' \
|
||||
${WRKSRC}/error.h
|
||||
.if ${PORT_OPTIONS:MSSL}
|
||||
@${REINPLACE_CMD} -e 's|#INCS=-I/usr/local/include|INCS=-I${OPENSSLBASE}/include|g; \
|
||||
s|-lcrypto|-L${OPENSSLBASE}/lib |g' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue