mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Fix build with option IPV6 disabled
PR: 193827 Submitted by: kyuupichan@gmail.com MFH: 2014Q4
This commit is contained in:
parent
8df4b4fda7
commit
127a7d378e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370153
@ -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…
Reference in New Issue
Block a user