aboutsummaryrefslogtreecommitdiffstats
path: root/databases/xapian-core
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-11-22 20:59:03 +0800
committerrakuco <rakuco@FreeBSD.org>2016-11-22 20:59:03 +0800
commit2cd6d432b65cb304028f3a0b0fae5cc9b1a3a39f (patch)
treeca07a8a75f37150daeeeb79f062bec869a9134f4 /databases/xapian-core
parenta5c5b2fd7a947a52e0ed2cfe10aa6d91a942a7d4 (diff)
downloadfreebsd-ports-gnome-2cd6d432b65cb304028f3a0b0fae5cc9b1a3a39f.tar.gz
freebsd-ports-gnome-2cd6d432b65cb304028f3a0b0fae5cc9b1a3a39f.tar.zst
freebsd-ports-gnome-2cd6d432b65cb304028f3a0b0fae5cc9b1a3a39f.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
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