Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2019 10:34:19 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Yuri Victorovich <yuri@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r508065 - in head/sysutils: . crate
Message-ID:  <ef21-gwhg-wny@FreeBSD.org>
In-Reply-To: <201908040721.x747Latd060136@repo.freebsd.org> (Yuri Victorovich's message of "Sun, 4 Aug 2019 07:21:36 %2B0000 (UTC)")
References:  <201908040721.x747Latd060136@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri Victorovich <yuri@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef21-gwhg-wny>