aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-08-21 12:30:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-08-21 12:30:03 +0000
commitb4ccde15424080a5f97a474b00e10009bdca8adf (patch)
tree12769c78636f05527402d2b2f55ca87a309cbdd5 /Mk
parent9654594bb0d2142833eaf5bd3460c042d1adcd7e (diff)
downloadports-b4ccde15424080a5f97a474b00e10009bdca8adf.tar.gz
ports-b4ccde15424080a5f97a474b00e10009bdca8adf.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 5286cd285d34..a5a7f0f8eec1 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -130,12 +130,12 @@ LDFLAGS+= -L${LOCALBASE}/lib -Wl,-rpath,${PREFIX}/lib/${MOZILLA}
# use jemalloc 3.0.0 API for stats/tuning
MOZ_EXPORT+= MOZ_JEMALLOC3=1
-.if ${OSVERSION} >= 1100079
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100079
. if ${MOZILLA_VER:R:R} < 43
# system jemalloc 4.0.0 vs. bundled jemalloc 3.6.0-204-gb4acf73
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bug1125514
. endif
-.elif ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37
+.elif ${OPSYS} != FreeBSD || ${OSVERSION} < 1000012 || ${MOZILLA_VER:R:R} >= 37
MOZ_OPTIONS+= --enable-jemalloc
.endif
@@ -381,7 +381,7 @@ MOZ_OPTIONS+= --disable-debug --enable-release
.if ${PORT_OPTIONS:MDTRACE}
MOZ_OPTIONS+= --enable-dtrace
-. if ${OSVERSION} < 1100061
+. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100061
LIBS+= -lelf
. endif
STRIP=
@@ -454,8 +454,8 @@ MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
USE_BINUTILS= # intel-gcm.s
CFLAGS+= -B${LOCALBASE}/bin
LDFLAGS+= -B${LOCALBASE}/bin
-. if ${OSVERSION} < 1000041 && exists(/usr/lib/libcxxrt.so) && \
- ${CXXFLAGS:M-stdlib=libc++}
+. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000041 && \
+ exists(/usr/lib/libcxxrt.so) && ${CXXFLAGS:M-stdlib=libc++}
LIBS+= -lcxxrt
. endif
. endif