aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2019-08-10 01:23:29 +0800
committeryuri <yuri@FreeBSD.org>2019-08-10 01:23:29 +0800
commita38121393fc030a336350098eaf00b6dcf5b45b5 (patch)
tree95869c6c264e2dc4771dc0c21f8334b816e39ddd /sysutils
parent99d743d2903ea872766a6afbf42c90bdf262b5a6 (diff)
downloadfreebsd-ports-gnome-a38121393fc030a336350098eaf00b6dcf5b45b5.tar.gz
freebsd-ports-gnome-a38121393fc030a336350098eaf00b6dcf5b45b5.tar.zst
freebsd-ports-gnome-a38121393fc030a336350098eaf00b6dcf5b45b5.zip
sysutils/crate: Improve the BROKEN statements; Add emulators to CATEGORIES
The BROKEN statement now is triggered by the presence of the STL's 'filesystem' feature instead of the system version. Submitted by: jbeich (patch for BROKEN statements)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/crate/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/crate/Makefile b/sysutils/crate/Makefile
index 3c875de61e51..a6c3f65e66ab 100644
--- a/sysutils/crate/Makefile
+++ b/sysutils/crate/Makefile
@@ -2,7 +2,7 @@
PORTNAME= crate
DISTVERSION= 0.1.1
-CATEGORIES= sysutils
+CATEGORIES= sysutils emulators
MAINTAINER= yuri@FreeBSD.org
COMMENT= Containerizer for FreeBSD (alpha-software, expect bugs)
@@ -10,9 +10,8 @@ COMMENT= Containerizer for FreeBSD (alpha-software, expect bugs)
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_FreeBSD_11= STL feature 'filesystem' isn't available on 11
-.if defined(PACKAGE_BUILDING)
-BROKEN_FreeBSD_12= STL feature 'filesystem' isn't available in 12.0-RELEASE-p7
+.if exists(/usr/include/c++/v1) && !exists(/usr/include/c++/v1/filesystem)
+BROKEN= STL feature 'filesystem' isn't available # '
.endif
BUILD_DEPENDS= rang>0:devel/rang