From 3f64b58c6fd21d5c4e7d094029cf2c57f1c3a6a6 Mon Sep 17 00:00:00 2001
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Date: Wed, 28 May 2014 16:45:55 +0000
Subject: - Check OPSYS along with OSVERSION

Suggested by:	marino
---
 www/nghttp2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'www')

diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile
index 4d8892a2ce83..ad7469c1937f 100644
--- a/www/nghttp2/Makefile
+++ b/www/nghttp2/Makefile
@@ -45,7 +45,7 @@ HPACK_LIB_DEPENDS=	libjansson.so:${PORTSDIR}/devel/jansson
 IGNORE=		nghttp2 requires OpenSSL 1.0.1+
 .endif
 
-.if ${OSVERSION} >= 1000000
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
 CONFIGURE_ARGS+=--with-jemalloc
 .endif
 
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0