aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-05 23:31:20 +0800
committermarino <marino@FreeBSD.org>2014-05-05 23:31:20 +0800
commitc4227a02932c0ab10816583ac965d7b303cfd7b5 (patch)
treecdcc16e243907593110b5bffbd764f474ada5ef9 /lang
parent3bd4fc4352f26a1ccf8d837d7cfc32f0924c5a3d (diff)
downloadfreebsd-ports-gnome-c4227a02932c0ab10816583ac965d7b303cfd7b5.tar.gz
freebsd-ports-gnome-c4227a02932c0ab10816583ac965d7b303cfd7b5.tar.zst
freebsd-ports-gnome-c4227a02932c0ab10816583ac965d7b303cfd7b5.zip
lang/rust: Couple OPSYS with OSVERSION (Unbreaks DragonFly)
Diffstat (limited to 'lang')
-rw-r--r--lang/rust/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index ecaddef5ff45..acfe3fe4446f 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -39,6 +39,7 @@ LLNEXTGEN_DESC= Build with grammar verification
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+.if ${OPSYS} == FreeBSD
.if ${OSVERSION} < 900044
BROKEN= Only compiles on FreeBSD 9,10 and 11
.endif
@@ -46,6 +47,7 @@ BROKEN= Only compiles on FreeBSD 9,10 and 11
.if ${OSVERSION} >= 1000000
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
.endif
+.endif
.if ${PORT_OPTIONS:MLLNEXTGEN}
BUILD_DEPENDS+= LLnextgen:${PORTSDIR}/devel/llnextgen