aboutsummaryrefslogtreecommitdiff
path: root/databases/xapian-core
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-11-22 12:59:03 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-11-22 12:59:03 +0000
commit7fa9bc24b0056b30113b2b33bf020b927e34a11e (patch)
treeca07a8a75f37150daeeeb79f062bec869a9134f4 /databases/xapian-core
parent152047e855a7b5c3f3439c0e733111f0defa653e (diff)
downloadports-7fa9bc24b0056b30113b2b33bf020b927e34a11e.tar.gz
ports-7fa9bc24b0056b30113b2b33bf020b927e34a11e.zip
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
Notes
Notes: svn path=/head/; revision=426821
Diffstat (limited to 'databases/xapian-core')
-rw-r--r--databases/xapian-core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/xapian-core/Makefile b/databases/xapian-core/Makefile
index 0638a1f95380..9e2db6539fd9 100644
--- a/databases/xapian-core/Makefile
+++ b/databases/xapian-core/Makefile
@@ -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