diff options
author | garga <garga@FreeBSD.org> | 2014-10-06 19:12:26 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2014-10-06 19:12:26 +0800 |
commit | 4b6e42c20ced54793fda065cd1cecc690bd2abe3 (patch) | |
tree | c0f4d402072d257d23d054a8fffe3b0fc0ed72ee /sysutils | |
parent | 34800125eeebb9e9de141082e57246617519e81a (diff) | |
download | freebsd-ports-gnome-4b6e42c20ced54793fda065cd1cecc690bd2abe3.tar.gz freebsd-ports-gnome-4b6e42c20ced54793fda065cd1cecc690bd2abe3.tar.zst freebsd-ports-gnome-4b6e42c20ced54793fda065cd1cecc690bd2abe3.zip |
- Fix build with option IPV6 disabled
PR: 193827
Submitted by: kyuupichan@gmail.com
MFH: 2014Q4
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ucspi-tcp/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile index 4518a2b1486d..056187f0d8d0 100644 --- a/sysutils/ucspi-tcp/Makefile +++ b/sysutils/ucspi-tcp/Makefile @@ -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' \ |