Index: shells/fish/Makefile =================================================================== --- shells/fish/Makefile +++ shells/fish/Makefile @@ -13,8 +13,8 @@ LIB_DEPENDS+= libpcre2-32.so:devel/pcre2 -USES= autoreconf cpe gmake libtool ncurses pkgconfig pathfix python:3.4+ \ - localbase compiler:c++11-lang shebangfix +USES= autoreconf cpe gmake libtool ncurses pkgconfig pathfix \ + python:3.4+ localbase compiler:c++11-lang shebangfix SHEBANG_FILES= share/tools/*.py share/tools/web_config/webconfig.py CONFLICTS_INSTALL= comms/mlan3 @@ -33,6 +33,8 @@ NLS_CONFIGURE_ENV= ac_cv_func_gettext=yes NLS_CONFIGURE_OFF= --without-gettext +.include + post-patch: @${REINPLACE_CMD} -e \ '/^all:/s|user_doc|| ; \ @@ -45,6 +47,10 @@ /pthread_create/d ; \ s|ncurses curses|curses| ; \ s|ncurses.h||' ${WRKSRC}/configure.ac +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200056 + @${REINPLACE_CMD} -e \ + 's|#ifdef __cpp_lib_make_unique|#if 1|' ${WRKSRC}/src/common.h +.endif post-install: .for i in fish fish_indent fish_key_reader