Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 12:59:04 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426821 - head/databases/xapian-core
Message-ID:  <201611221259.uAMCx407040641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Nov 22 12:59:03 2016
New Revision: 426821
URL: https://svnweb.freebsd.org/changeset/ports/426821

Log:
  Update FreeBSD version check for SOCK_CLOEXEC.
  
  __FreeBSD_version was not bumped when SOCK_CLOEXEC was introduced, but we can
  place its addition between 1000030 and 1000031.
  
  Reported by:	mat

Modified:
  head/databases/xapian-core/Makefile

Modified: head/databases/xapian-core/Makefile
==============================================================================
--- head/databases/xapian-core/Makefile	Tue Nov 22 12:30:56 2016	(r426820)
+++ head/databases/xapian-core/Makefile	Tue Nov 22 12:59:03 2016	(r426821)
@@ -31,7 +31,7 @@ SSE2_CONFIGURE_ENABLE=	sse
 .include <bsd.port.pre.mk>
 
 # FreeBSD 9 does not have SOCK_CLOEXEC.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000031
 CXXFLAGS+=	-DSOCK_CLOEXEC=0
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611221259.uAMCx407040641>