svn commit: r426821 - head/databases/xapian-core
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue Nov 22 12:59:05 UTC 2016
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
More information about the svn-ports-all
mailing list