svn commit: r508065 - in head/sysutils: . crate

Jan Beich jbeich at FreeBSD.org
Sun Aug 4 08:34:24 UTC 2019


Yuri Victorovich <yuri at FreeBSD.org> writes:

> +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
> +.endif

FreeBSD 11.3 does have std::filesystem but until 11.2 EOL reaches EOL on 2019-10-09
build on the package cluster would remain broken. Maybe try the following instead.

https://svnweb.freebsd.org/base/releng/11.3/contrib/libc%2B%2B/include/filesystem
https://reviews.freebsd.org/P286

Index: sysutils/crate/Makefile
===================================================================
--- sysutils/crate/Makefile	(revision 508075)
+++ sysutils/crate/Makefile	(working copy)
@@ -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
@@ -22,6 +21,9 @@ USES=		compiler:c++17-lang pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	yurivict
 
+CFLAGS+=	${CFLAGS_${OPSYS}_${OSREL:R}}
+CFLAGS_FreeBSD_11=	-D_WITH_GETLINE
+
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man5/${PORTNAME}.5.gz
 


More information about the svn-ports-head mailing list