svn commit: r370153 - head/sysutils/ucspi-tcp

Renato Botelho garga at FreeBSD.org
Mon Oct 6 11:12:27 UTC 2014


Author: garga
Date: Mon Oct  6 11:12:26 2014
New Revision: 370153
URL: https://svnweb.freebsd.org/changeset/ports/370153
QAT: https://qat.redports.org/buildarchive/r370153/

Log:
  - Fix build with option IPV6 disabled
  
  PR:		193827
  Submitted by:	kyuupichan at gmail.com
  MFH:		2014Q4

Modified:
  head/sysutils/ucspi-tcp/Makefile

Modified: head/sysutils/ucspi-tcp/Makefile
==============================================================================
--- head/sysutils/ucspi-tcp/Makefile	Mon Oct  6 10:25:34 2014	(r370152)
+++ head/sysutils/ucspi-tcp/Makefile	Mon Oct  6 11:12:26 2014	(r370153)
@@ -108,6 +108,8 @@ PATCH_SITES+=		${MASTER_SITE_LOCAL:S/$/:
 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' \


More information about the svn-ports-all mailing list