Date: Fri, 12 Jul 2019 02:14:23 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506431 - head/astro/opencpn Message-ID: <201907120214.x6C2ENei023780@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Fri Jul 12 02:14:23 2019 New Revision: 506431 URL: https://svnweb.freebsd.org/changeset/ports/506431 Log: Correct the test for whether to disable sse extensions to x86-only. While here, standardize on compiler:c++11-lang rather than -lib; these days, they are equivalent. Approved by: portmgr (tier-2 blanket) Modified: head/astro/opencpn/Makefile Modified: head/astro/opencpn/Makefile ============================================================================== --- head/astro/opencpn/Makefile Fri Jul 12 01:57:57 2019 (r506430) +++ head/astro/opencpn/Makefile Fri Jul 12 02:14:23 2019 (r506431) @@ -22,7 +22,7 @@ USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenCPN -USES= cmake compiler:c++11-lib gettext-tools gl gnome localbase +USES= cmake compiler:c++11-lang gettext-tools gl gnome localbase USE_CXXSTD= c++11 USE_GL= gl USE_GNOME= cairo gdkpixbuf2 gtk20 @@ -36,14 +36,16 @@ LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/mygdal/cpl_csv.cpp \ ${WRKSRC}/src/mygdal/cpl_findfile.cpp \ ${WRKSRC}/data/doc/help_en_US.html -.if exists(/usr/lib/libstdc++.so) +.if ${ARCH} != amd64 && ${ARCH} != i386 @${REINPLACE_CMD} -e '/-msse/d' -e '/-mssse3/d' \ -e '/-mavx2/d' ${WRKSRC}/CMakeLists.txt .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907120214.x6C2ENei023780>